-moz-box-shadow
时间: 2023-10-04 18:08:55 浏览: 44
-moz-box-shadow is a CSS property used to add a shadow effect to an element. It is specific to Mozilla Firefox browser and is used to create a drop shadow effect. This property allows you to define the size, position, and color of the shadow. Here's an example of how you can use it:
```css
.my-element {
-moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
```
In this example, the `.my-element` class will have a drop shadow with a horizontal offset of 2 pixels, a vertical offset of 2 pixels, a blur radius of 4 pixels, and a color defined as rgba(0, 0, 0, 0.4).
Please note that the -moz-box-shadow property is specific to older versions of Firefox. It is recommended to use the standard `box-shadow` property which is supported by modern browsers.