Difference between revisions of "Template:Round"

822 bytes removed ,  00:07, 1 June 2020
no edit summary
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
border-radius: {{{1|15px}}}; -moz-border-radius: {{{1|15px}}}; -webkit-border-radius: {{{1|15px}}}; -khtml-border-radius: {{{1|15px}}}; -icab-border-radius: {{{1|15px}}}; -o-border-radius: {{{1|15px}}};<noinclude>
border-radius: {{{1|15px}}};<noinclude>{{doc}}[[Category:Formatting Templates]]</noinclude>
 
==Usage==
This template is used to automatically generate all of the border rounding code. To use it, type <nowiki>{{round|radius}}</nowiki> 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.
 
:''Note- when changing this template, change all 9 templates to round corners {{tl|Round}}, {{tl|Roundytr}}, {{tl|Roundytl}}, {{tl|Roundbr}}, {{tl|Roundbl}}, {{tl|Roundtop}}, {{tl|Roundbottom}}, {{tl|Roundright}}, & {{tl|Roundleft}}''
 
[[Category:Formatting Templates]]</noinclude>