Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!

Difference between revisions of "Template:Round"

From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
(KeybladeSpyMaster, Removing "Doc" templates)
 
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> [[Category:Rounding Templates]]</noinclude>
border-radius: {{{1|15px}}};<noinclude>{{doc}}[[Category:Rounding Templates]]</noinclude>

Latest revision as of 19:11, 12 December 2020

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.

Note- when changing this template, change all 9 templates to round corners {{Round}}, {{Roundtr}}, {{Roundtl}}, {{Roundbr}}, {{Roundbl}}, {{Roundtop}}, {{Roundbottom}}, {{Roundright}}, & {{Roundleft}}