Supercharge QA with AI for Faster & Smarter Software Testing

css-boxshadow is a CSS3 property that is able to display an inner or outer shadow effect to elements.
Last updated on : 2026-02-09
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
Inherited
no
Applies to
all elements. It also applies to ::first-letter.
Initial value
none
Animation type
a shadow list
Computed value
any length made absolute; any specified color computed; otherwise as specified
CSS Backgrounds and Borders Module Level 4 # box-shadow
/* Keyword values */
box-shadow: none;
/* offset-x | offset-y | color */
box-shadow: 60px -16px teal;
/* offset-x | offset-y | blur-radius | color */
box-shadow: 10px 5px 5px black;
/* offset-x | offset-y | blur-radius | spread-radius | color */
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
/* inset | offset-x | offset-y | color */
box-shadow: inset 5em 1em gold;
/* Any number of shadows, separated by commas */
box-shadow: 3px 3px red, -1em 0 0.4em olive;
/* Global keywords */
box-shadow: inherit;
box-shadow: initial;
box-shadow: revert;
box-shadow: unset;
CSS3 Box-shadow on IE is fully supported on 9-11, and not supported on 5.5-8 IE versions.
CSS3 Box-shadow on Edge is fully supported on all Edge versions.
CSS3 Box-shadow on Firefox is fully supported on 3.6-150, and not supported on 2-3 Firefox versions.
CSS3 Box-shadow on Chrome is fully supported on all Chrome versions.
CSS3 Box-shadow on Safari is fully supported on 5-26.3 and partially supported on 3.2-4 Safari versions.
CSS3 Box-shadow on Opera is fully supported on 10.6-125, and not supported on 9.5-10 Opera versions.
CSS3 Box-shadow on Safari on iOS is fully supported on 4.2-26.3 and partially supported on 3.2-3.2 Safari on iOS versions.
CSS3 Box-shadow on Android Browser is fully supported on 4.4-144 and partially supported on 2.3-3 Android Browser versions.
CSS3 Box-shadow on Opera Mobile is fully supported on 11.5-80, and not supported on 10-10 Opera Mobile versions.
CSS3 Box-shadow on Chrome for Android is fully supported on all Chrome for Android versions.
CSS3 Box-shadow on Firefox for Android is fully supported on all Firefox for Android versions.
CSS3 Box-shadow on Samsung Internet is fully supported on all Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:CSS3 Box-shadow shows a browser compatibility score of 100. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for CSS3 Box-shadow & more
Test your website for CSS3 Box-shadow and other web technologies. Get 100 FREE automation test minutes!
Test NowDid you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance