box-shadow
Read More at MDN DocsView SpecSafe to Use
box-shadow
is considered safe to use.
It’s supported by 94% of global browsers.
Browsers
Version Breakdown
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Full Support
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Implemented with the vendor prefix: -moz-
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Implemented with the vendor prefix: -moz-
Full Support
To use box-shadow
in Internet Explorer 9 or later, you must set border-collapse
to separate
.
Since version 5.5, Internet Explorer supports Microsoft's DropShadow and Shadow Filter. You can use this proprietary extension to cast a drop shadow (though the syntax and the effect are different from CSS3)
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-
Full Support
Shadows affect layout in this browser. For example, if you cast an outer shadow to a box with a width
of 100%
, then you'll see a scrollbar.
Implemented with the vendor prefix: -webkit-