FANDOM


-moz-border-radius: 1em; -webkit-border-radius: 1em; border-radius: 1em; -khtml-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}}"

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
    • -top-right
    • -bottom-left
    • -bottom-right
Community content is available under CC-BY-SA unless otherwise noted.