Template:Border-radius/doc
Jump to navigation
Jump to search
This template inserts CSS to create rounded corners in an element. It should be used over manually specifying the border-radius
property due to browser compability.[confirmation needed]
Usage
This template can be used by placing it into an HTML element's "style" attribute. It takes a parameter for how large the radius should be: a number, followed by any valid CSS unit, most commonly em
or px
.
<span class="{{Border-radius|1em}}">Contents</span>