Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Template:Round: Difference between revisions

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
(merging all round templates into one)
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
border-{{{corner|}}}radius:{{{1|15}}}px;-moz-border-{{{corner|}}}radius:{{{1|15}}}px;border-{{{corner|}}}radius:{{{1|15}}}px;-webkit-border-{{{corner|}}}radius:{{{1|15}}}px;khtml-border-{{{corner|}}}radius:{{{1|15}}}px;-icab-border-{{{corner|}}}radius:{{{1|15}}}px;<noinclude>
border-radius:{{{1|15}}}px;<noinclude>
{{doc}}
{{doc}}
[[Category:Round templates| ]]
[[Category:Round templates| ]]
</noinclude>
</noinclude>

Latest revision as of 03:07, 15 February 2021

border-radius:15px;

Usage[edit]

This template is used to automatically generate all of the border rounding code. To use it, type {{round|radius}} within a styling. The radius is the radius of the rounded border. If left blank, it will default to 15 pixels. Do not include a px after the number, and remember that the radius is in pixels. Be sure to include a semicolon after it if it is not the last item in the styling.