非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
Deprecated since Gecko 44 (Firefox 44 / Thunderbird 44 / SeaMonkey 2.41)
This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the
兼容性表格
at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
-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.
| 初始值 |
default
|
|---|---|
| 适用于 | all elements that create native windows, e.g. <window>, <panel> |
| 继承 | no |
| 计算值 | 如指定 |
| 动画类型 | discrete |
-moz-window-shadow
property is specified as one of the keyword values listed below.
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.
default | menu | tooltip | sheet | none
.KUI-panel {
-moz-window-shadow: none;
}
No compatibility data found. Please contribute data for "css.properties.-moz-window-shadow" (depth: 1) to the MDN 兼容性数据存储库 .