Template:Round: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Greenpickle (talk | contribs) (categorisation, conciseness. Removed last sentence 'cause it's untrue. border-radius should be last so any browsers supporting it and another use the standard (spec may change?)) |
||
Line 1: | Line 1: | ||
-moz-border-radius:{{{1|15}}}px;border-radius:{{{1|15}}}px; | -moz-border-radius: {{{1|15}}}px; -webkit-border-radius: {{{1|15}}}px; khtml-border-radius: {{{1|15}}}px; -icab-border-radius: {{{1|15}}}px; border-radius: {{{1|15}}}px;<noinclude> | ||
== | ==Use== | ||
This template | This template generates border rounding code. To use it, type <nowiki>{{round|radius}}</nowiki> in the 'style' property of an element, where radius is the radius of the rounded border in pixels (defaults to 15). Do not include 'px' after the number. | ||
[[Category: | [[Category:Templates|{{PAGENAME}}]] |
Revision as of 03:39, September 20, 2010
-moz-border-radius: 15px; -webkit-border-radius: 15px; khtml-border-radius: 15px; -icab-border-radius: 15px; border-radius: 15px;
Use
This template generates border rounding code. To use it, type {{round|radius}} in the 'style' property of an element, where radius is the radius of the rounded border in pixels (defaults to 15). Do not include 'px' after the number.