Power Your Software Testing with AI and Cloud

Supercharge QA with AI for Faster & Smarter Software Testing

Next-Gen App & Browser Testing Cloud

CSS3 Box-shadow

css-boxshadow is a CSS3 property that is able to display an inner or outer shadow effect to elements.

Last updated on : 2025-11-11

Browser Versions

IEIE

EdgeEdge

FirefoxFirefox

ChromeChrome

SafariSafari

OperaOpera

5.5 - 8
Test on IE 5.5 - 8 ...
9 - 11
Test on IE 9 - 11 ...
12 - 142
Test on Edge 12 - 142 ...
2 - 3
Test on Firefox 2 - 3 ...
3.6 - 147
Test on Firefox 3.6 - 147 ...
4 - 145
Test on Chrome 4 - 145 ...
3.2 - 4
Test on Safari 3.2 - 4 ...
5 - 26.2
Test on Safari 5 - 26.2 ...
9.5 - 10
Test on Opera 9.5 - 10 ...
10.6 - 122
Test on Opera 10.6 - 122 ...

...Fully Supported

...Partially

...No Support

Formal Definition

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

Specifications

CSS Backgrounds and Borders Module Level 4 # box-shadow

Syntax

/* 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;

Browser Compatibility

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-147, 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.2 and partially supported on 3.2-4 Safari versions.

CSS3 Box-shadow on Opera is fully supported on 10.6-122, and not supported on 9.5-10 Opera versions.

CSS3 Box-shadow on Safari on iOS is fully supported on 4.2-26.1 and partially supported on 3.2-3.2 Safari on iOS versions.

CSS3 Box-shadow on Android Browser is fully supported on 4.4-142 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.

100
Hightooltip

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 Now...

More Web Technologies

  • CSS
  • HTML 5
  • SVG
  • JS API
  • Security
  • JavaScript
  • Other Web Technologies
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Did you find this page helpful?

Helpful

NotHelpful