この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

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.

Obsolete since Gecko 44 (Firefox 44 / Thunderbird 44 / SeaMonkey 2.41)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

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 websites anymore.

Firefox 3 added support for transparent windows on Mac OS X. However, for these windows shadows were turned off and there was no way to turn them on. In Firefox 3.5 the default changed, with all windows having a shadow. This version introduced the -moz-window-shadow CSS property to provide a way to turn off unwanted shadows.

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

Syntax

The -moz-window-shadow property is specified as one of the keyword values listed below.

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.

Formal syntax

default | menu | tooltip | sheet | none

Example

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

Browser compatibility

No compatibility data found. Please contribute data for "css.properties.-moz-window-shadow" (depth: 1) to the MDN compatibility data repository.

See also

ドキュメントのタグと貢献者

最終更新者: ExE-Boss,