Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

-moz-window-shadow

Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите закончить эту работу!

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Summary

The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X.

This property is not standard and from Firefox 44 onwards cannot be used on Web sites anymore.

Initial valuedefault
Applies toall elements that create native windows, e.g. <window>, <panel>
Inheritedno
Mediavisual
Computed valueas specified
Animatableno
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Firefox 3 added support for transparent windows on Mac OS X. However, for these windows shadows were turned off and there was no way of turning them on.

In Firefox 3.5 we changed the default; all windows now have a shadow. We introduced the -moz-window-shadow CSS property to provide a way to turn off unwanted shadows.

Syntax

default | menu | tooltip | sheet | none

Values

default
The window will have a shadow with the default window shadow style.
menu
The window will have the shadow style that's appropriate for menus.
tooltip
The window will have the shadow style that's appropriate for tooltips.
sheet
The window will have the shadow style that's appropriate for sheet windows.
none
The window won't have a shadow.

Examples

.KUI-panel {
  -moz-window-shadow: none;
}

Метки документа и участники

 Внесли вклад в эту страницу: teoli, Sebastianz, velvel53, Sheppy, trevorh, MarkusStange
 Обновлялась последний раз: teoli,