Template:Round corners

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.75); -moz-box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.75); -webkit-box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.75);

Template documentation[view] [edit] [history] [purge]

This template is used to produce rounded corners for tables. Just embed it in any <div>, <table>: etc. element.

Example[change source]

<div style="background-color: #ffff66; {{round corners}} padding: 0.5em 1em;">Text text text</div>
which produces:
Text text text