Template:Border-radius

From RuneRealm Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Border-radius/doc. [edit] [history] [purge]

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>