Template:Border-radius/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:19, 17 October 2024 (Created page with "{{Documentation}} This template inserts CSS to create rounded corners in an element. It should be used over manually specifying the <code>border-radius</code> property due to browser compability.{{fact|is this relevant anymore}} ==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 <code>em</code> or <code>px</code>. <pr..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Border-radius.
It contains usage information, categories, and other content that is not part of the original template page.

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>