Шаблон:Box-shadow border

Материал из Тептар — свободной энциклопедии
Перейти к навигации Перейти к поиску

box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #000;

Документация

{{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.

Examples[править код]

All (default)[править код]

Left[править код]

Right[править код]

Top[править код]

Bottom[править код]

Top and bottom[править код]

Left and right[править код]

See also[править код]