Template:Border-radius

From Chabadpedia
Jump to navigation Jump to search


This template is used to add a rounded corner effect to tables and layers. The effect is achieved using CSS3 capabilities, so it will only appear in newer browsers that support it. The template accepts a single parameter representing the border radius.

Example[edit source]

<div style="border:3px solid #AAA; {{border-radius|8px}}"> Rounded black border </div>

Result:

Rounded black border