Difference between revisions of "Template:Box-shadow border/doc"
Jump to navigation
Jump to search
imported>Matt Fitzpatrick m (sp) |
imported>Frietjes |
||
| Line 42: | Line 42: | ||
| titlestyle = {{box-shadow border|lr|red|2px}} | | titlestyle = {{box-shadow border|lr|red|2px}} | ||
| title = <nowiki>{{box-shadow border|lr|red|2px}}</nowiki> | | title = <nowiki>{{box-shadow border|lr|red|2px}}</nowiki> | ||
| + | }} | ||
| + | === All with two colors === | ||
| + | {{navbox|navbar=off | ||
| + | | titlestyle = {{box-shadow border|a|c1=red|c2=green|w=2px}} | ||
| + | | title = <nowiki>{{box-shadow border|a|c1=red|c2=green|w=2px}}</nowiki> | ||
| + | }} | ||
| + | === Top and bottom with two colors === | ||
| + | {{navbox|navbar=off | ||
| + | | titlestyle = {{box-shadow border|tb|c1=red|c2=green|w=2px}} | ||
| + | | title = <nowiki>{{box-shadow border|tb|c1=red|c2=green|w=2px}}</nowiki> | ||
| + | }} | ||
| + | === Left and right with two colors === | ||
| + | {{navbox|navbar=off | ||
| + | | titlestyle = {{box-shadow border|lr|c1=red|c2=green|w=2px}} | ||
| + | | title = <nowiki>{{box-shadow border|lr|c1=red|c2=green|w=2px}}</nowiki> | ||
}} | }} | ||
Revision as of 15:47, 27 July 2018
| 40px | This is a documentation subpage for Template:Box-shadow border. It contains usage information, categories and other content that is not part of the original template page. |
{{Box-shadow border}} provides style declarations to show a visual line, similar to a border, at one or more sides of an element.
This template is useful where an element should not have a border, or uses a border already. Navboxes, in particular, use borders to give the appearance of spacing between elements.
This template should complement text, instead of taking the place of text. Opera Mini and Internet Explorer 8 and earlier ignore this template's style declarations, leaving only the text perceivable. Color blind and visually impaired users may also only perceive the text.
Contents
Examples
All (default)
Left
Right
Top
Bottom
Top and bottom
Left and right
All with two colors
Top and bottom with two colors
Left and right with two colors
See also
- {{box-shadow}}