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)
(rm extra space that is formatting the text into code style)
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-{{{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>
{{doc}}
{{doc}}
[[Category:Round templates| ]]
[[Category:Round templates| ]]
</noinclude>
</noinclude>

Revision as of 08:13, 1 January 2021

border-radius:15px;-moz-border-radius:15px;border-radius:15px;-webkit-border-radius:15px;khtml-border-radius:15px;-icab-border-radius:15px;

Usage

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.