Difference between revisions of "Template:Highlight round"
Jump to navigation
Jump to search
imported>Jay D. Easy |
imported>WOSlinker (use border-radius css directly) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><span style="margin-right: 0.1em; padding: 3px 4px 2px; background-color: {{{bc|yellow}}}; border: 1px; | + | <includeonly><span style="margin-right: 0.1em; padding: 3px 4px 2px; background-color: {{{bc|yellow}}}; border: 1px; border-radius:3px; box-shadow: 0.1em 0.1em 0.25em rgba(0,0,0,0.75); {{box-shadow|2px|2px|4px|#A0A080}};">{{{1|Highlighted text}}}</span></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 17:53, 14 October 2019
| Template:Ubl |
Usage
This template highlights text with slightly rounded corners and a subtle shadow effect.
{{highlight round|some text}} |
→ | some text (defaults to yellow) |
{{highlight round|some text|bc=#ffa07a}} |
→ | some text |
{{highlight round|some text|bc=lightgreen}} |
→ | some text |
See also
- {{highlight}}
| The above documentation is transcluded from Template:Highlight round/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |