Posted By

jazzs3quence on 10/07/10


css CSS3 shadow box-shadow

Versions (?)

Who likes this?

3 people have marked this snippet as a favorite


css3 image drop shadow

 / Published in: CSS

This will add a subtle drop shadow to all images on a page. Works with all major browsers excluding Internet Explorer 8 and below. The beta version of Internet Explorer does support box-shadow. There's a nice writeup on box shadow here:

  1. img { box-shadow: 2px 2px 5px #11111; -moz-box-shadow: 2px 2px 5px #11111; -webkit-box-shadow: 2px 2px 5px #11111; }

Report this snippet  

You need to login to post a comment.