Difference between revisions of "Template:Round corners"

From SPOT CHECK IT
Jump to: navigation, search
(Created page with "<includeonly>border-radius:1em; box-shadow:0.1em 0.1em 0.5em rgba(0,0,0,0.75);</includeonly><!-- --><noinclude>{{documentation|content= === Usage === This template is used to produce rounded corners for tables. Just embed it in any <nowiki><div>, <table>: etc.</nowiki> element. ==== Example ==== <syntaxhighlight lang=html><div style="background-color: #ffff66; {{round corners}} padding: 0.5em 1em;">Text text text</div></syntaxhighlight> :''which produces:'' <div styl...")
 
 
Line 1: Line 1:
<includeonly>border-radius:1em; box-shadow:0.1em 0.1em 0.5em rgba(0,0,0,0.75);</includeonly><!--
<includeonly>border-radius:1em; box-shadow:0.1em 0.1em 0.5em rgba(0,0,0,0.75);</includeonly><!--
--><noinclude>{{documentation|content=
--><noinclude>
 
=== Usage ===
=== Usage ===



Latest revision as of 22:25, 9 April 2022

Usage

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

Example

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