FANDOM


border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; -khtml-border-radius: 1em; -o-border-radius: 1em; -icab-border-radius: 1em;

Purpose

A template to add rounded corners to tables and cells in a table. Designed to be used inside a style command. Example:

style="text-align:right; padding:0 5px; {{Border-radius|35px|-top-right}}"

Placing a semi-colon (;) after the Border-radius template is not necessary because it is auto-included.

Usage

{{Border-radius|size|optional corner}}

  • size: The size of the rounded corner. Can be specified in the px and em measurement units, such as 35px or 10em.
  • optional corner: Allows you to specify which corner to apply the rounding to. If not specified, all four corners will be rounded.
    • -top-left             (abbreviations: tl & TL)
    • -top-right           (abbreviations: tr & TR)
    • -bottom-left       (abbreviations: bl & BL)
    • -bottom-right     (abbreviations: br & BR)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+