Navigation menu
Template:Roundt: Difference between revisions
m (Protected "Template:Roundt": Highly used template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
(cleanup) |
||
Line 1: | Line 1: | ||
border-top-left-radius: {{{1|15px}}}; -moz-border-radius-topleft: {{{1|15px}}}; -webkit-border-top-left-radius: {{{1|15px}}}; -khtml-border-top-left-radius: {{{1|15px}}}; -icab-border-top-left-radius: {{{1|15px}}}; -o-border-top-left-radius: {{{1|15px}}}; border-top-right-radius: {{{1|15px}}}; -moz-border-radius-topright: {{{1|15px}}}; -webkit-border-top-right-radius: {{{1|15px}}}; -khtml-border-top-right-radius: {{{1|15px}}}; -icab-border-top-right-radius: {{{1|15px}}}; -o-border-top-right-radius: {{{1|15px}}};<noinclude> | border-top-left-radius: {{{1|15px}}}; -moz-border-radius-topleft: {{{1|15px}}}; -webkit-border-top-left-radius: {{{1|15px}}}; -khtml-border-top-left-radius: {{{1|15px}}}; -icab-border-top-left-radius: {{{1|15px}}}; -o-border-top-left-radius: {{{1|15px}}}; border-top-right-radius: {{{1|15px}}}; -moz-border-radius-topright: {{{1|15px}}}; -webkit-border-top-right-radius: {{{1|15px}}}; -khtml-border-top-right-radius: {{{1|15px}}}; -icab-border-top-right-radius: {{{1|15px}}}; -o-border-top-right-radius: {{{1|15px}}};<noinclude> | ||
[[Category:Formatting Templates]]</noinclude> | {{Documentation}} | ||
[[Category:Formatting Templates|R]] | |||
</noinclude> |
Revision as of 04:49, 15 June 2014
border-top-left-radius: 15px; -moz-border-radius-topleft: 15px; -webkit-border-top-left-radius: 15px; -khtml-border-top-left-radius: 15px; -icab-border-top-left-radius: 15px; -o-border-top-left-radius: 15px; border-top-right-radius: 15px; -moz-border-radius-topright: 15px; -webkit-border-top-right-radius: 15px; -khtml-border-top-right-radius: 15px; -icab-border-top-right-radius: 15px; -o-border-top-right-radius: 15px;
This page has been transcluded from Template:Roundt/Documentation.
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.
There are alternate templates that can be used in place of this one. Each has a certain corner or side that it forces round. Be sure that if one is changed, that they are all changed. They are: