Difference between revisions of "Template:Round top"
From SPOT CHECK IT
(Created page with "<includeonly>border-radius: 20px 50px 0px 0px; 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 top}} padding: 0.5em 1em;">Text text text</div></syntaxhighlight> :''which produces:'...") |
|||
Line 1: | Line 1: | ||
<includeonly>border-radius: 20px 50px 0px 0px; box-shadow:0.1em 0.1em 0.5em rgba(0,0,0,0.75);</includeonly><!-- | <includeonly>border-radius: 20px 50px 0px 0px; box-shadow:0.1em 0.1em 0.5em rgba(0,0,0,0.75);</includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
=== Usage === | === Usage === | ||
Line 12: | Line 11: | ||
<div style="background-color: #ffff66; {{round top}} padding: 0.5em 1em;">Text text text</div> | <div style="background-color: #ffff66; {{round top}} padding: 0.5em 1em;">Text text text</div> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:43, 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 top}} padding: 0.5em 1em;">Text text text</div>
- which produces:
Text text text