Difference between revisions of "Template:Border-radius"

From The Urban Dead Wiki
Jump to navigationJump to search
(cross-browser compatibility FTW!)
 
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>-moz-border-radius:{{{1}}}; -webkit-border-radius:{{{1}}}; -opera-border-radius:{{{1}}}; border-radius:{{{1}}};</includeonly><noinclude>
<includeonly>-moz-border-radius:{{{1}}}; -webkit-border-radius:{{{1}}}; -opera-border-radius:{{{1}}}; -o-border-radius:{{{1}}}; -khtml-border-radius:{{{1}}}; border-radius:{{{1}}};</includeonly><noinclude>{{Doc}}[[Category:Utility Templates]]</noinclude>
==Usage==
This template is for making round corners to tables and such in a way that is compatible with all the browsers that support them, which at the moment are: Firefox (and other Gecko-based browsers), Safari and Chrome (and other Webkit-based brosers) and Opera (and its derivates).
 
To get those pretty corners, use the template in the style attribute of the thing you want rounded.
 
[[Category:Utility Templates]]
</noinclude>

Latest revision as of 16:02, 1 February 2013

Documentation
See the talk page for details.