Template:Border-radius: Difference between revisions
Appearance
Created page with "<includeonly>-moz-border-radius: {{{1|8px}}}; -webkit-border-radius: {{{1|8px}}}; border-radius: {{{1|8px}}};</includeonly><noinclude> This template is used to add a rounded corner effect to tables and layers. The effect is achieved using CSS3 capabilities, so it will only appear in newer browsers that support it. The template accepts a single parameter representing the border radius. ==Example== <div class="mw-content-ltr"><tt><nowiki><div style="border:3px solid..." |
(No difference)
|
Revision as of 00:17, 2 March 2025
This template is used to add a rounded corner effect to tables and layers. The effect is achieved using CSS3 capabilities, so it will only appear in newer browsers that support it.
The template accepts a single parameter representing the border radius.
Example
<div style="border:3px solid #AAA; {{border-radius|8px}}">
Rounded black border
</div>
Result:
Rounded black border