Difference between revisions of "Template:Box-shadow border/doc"

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
(split from template)
 
imported>Matt Fitzpatrick
(added intro/explanation, category, see also)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
+
 
 +
'''{{tl|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. [[Template:Navbox|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. Colorblind and visually impaired users may also only perceive the text.
 +
 
 
== Examples ==
 
== Examples ==
 
=== All (default) ===
 
=== All (default) ===
Line 37: Line 43:
 
| title = <nowiki>{{box-shadow border|lr|red|2px}}</nowiki>
 
| title = <nowiki>{{box-shadow border|lr|red|2px}}</nowiki>
 
}}
 
}}
 +
 +
== See also ==
 +
* {{tl|box-shadow}}
 +
<includeonly>
 +
[[Category:Text color templates]]
 +
</includeonly>

Revision as of 19:17, 25 June 2017

{{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. Colorblind and visually impaired users may also only perceive the text.

Examples

All (default)

Left

Right

Top

Bottom

Top and bottom

Left and right

See also