Return to Snippet

Revision: 33218
at October 7, 2010 03:36 by jazzs3quence


Initial Code
img { box-shadow: 2px 2px 5px #11111; -moz-box-shadow: 2px 2px 5px #11111; -webkit-box-shadow: 2px 2px 5px #11111; }

Initial URL

                                

Initial Description
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: http://www.css3.info/preview/box-shadow/

Initial Title
css3 image drop shadow

Initial Tags
css, CSS3

Initial Language
CSS