Use this page to see the differences in various box-shadow declarations across browsers. The comparison you will see, will show screenshots (well, partly that is) of the selected browsers. These are not generated in any way - it's all manual labour in booting up the browser or OS and taking screenshots by hand. The only column that is dynamically generated is the "Your browser" column.
Select which browsers to display:
| Firefox 3.5-3.6 | Firefox 4-13 | Internet Explorer 9 | Internet Explorer 10 | Chrome 1 | Chrome 2-3 | Chrome 4-9 | Chrome 10-11 | Chrome 12-20 | Safari 3.2 | Safari 4.0 | Safari 5.0 | Safari 5.1 | Opera 10.60 | Opera 11 | Opera 12 | rekonq 0.9.2 | Android 1.6 | Android 2.2 | Android 2.3 | Android 3.2 | Android 4.0 | iOS 3.2 | iOS 4.2 | iOS 5.1 | Opera Mobile 11 | Opera Mobile 12 | Firefox Mobile 14 | Windows Phone 7.5 | BlackBerry OS 6.0 | BlackBerry OS 7.1 | BlackBerry PlayBook 2.0 | webOS 3.0 | Symbian Belle | Your browser |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
box-shadow: 0 0 4px #000Common dropshadow with a modest blur, and nothing else. |
|||||||||||||||||||||||||||||||||||
box-shadow: 0 0 4px 4px #000Common dropshadow with increased spread. Shadow layer should appear bigger. |
|||||||||||||||||||||||||||||||||||
box-shadow: 4px 4px 4px #000Equal blur and positions. Shadow should be top-left aligned with the box. |
|||||||||||||||||||||||||||||||||||
box-shadow: 4px 4px 4px -2px #000Negative spread factor. Shadow layer should appear smaller. |
|||||||||||||||||||||||||||||||||||
box-shadow: 4px 4px 4px 4px #000Equal positions, blur, and spread. Shadow should be top-left aligned with the box, but still be visible on all sides. |
|||||||||||||||||||||||||||||||||||
box-shadow: inset 0 0 4px #000Inset shadow. Makes a shadow appear on the inside of the box, rather than on the outside. |
|||||||||||||||||||||||||||||||||||
box-shadow: inset 0 0 4px -2px #000Inset shadow with negative spread factor. Shadow layer should appear bigger, causing less of it to remain visible. |
|||||||||||||||||||||||||||||||||||
box-shadow: inset 4px 4px 4px #000Equal blur and positions on inset shadow. Shadow should be bottom-right aligned inside the box. |
|||||||||||||||||||||||||||||||||||
box-shadow: 4px 4px 0 #000No blur. Should make a shadow with sharp edge. |
|||||||||||||||||||||||||||||||||||
box-shadow: 0 0 0 4px #000No blur and no position. Shadow should appear like a border. |
|||||||||||||||||||||||||||||||||||
box-shadow: 4px 4px 4px #f00,Multiple shadows. |
|||||||||||||||||||||||||||||||||||
box-shadow: 0 0 4px #f00,Multiple shadows and different spread factors. |
|||||||||||||||||||||||||||||||||||
box-shadow: inset 4px 4px 4px #f00,Multiple inset shadows. |
|||||||||||||||||||||||||||||||||||
box-shadow: inset 0 0 4px #000,Combining inset and outset shadows. |