Posted By

kath on 10/03/10


Tagged

css DropShadow


Versions (?)

Who likes this?

15 people have marked this snippet as a favorite

cjmling
seanpowell
bobbym245
azipagan
maltem
cromozooom
toxictoad
bjarniolsen
jplr
kwameboame
steviraab
eeels
wirenaught
clinicdigital
atulkransingh


CSS Dropshadows on all browsers


 / Published in: CSS
 

URL: http://robertnyman.com/2010/03/16/drop-shadow-with-css-for-all-web-browsers/

  1. .shadow {
  2. -moz-box-shadow: 3px 3px 4px #000;
  3. -webkit-box-shadow: 3px 3px 4px #000;
  4. box-shadow: 3px 3px 4px #000;
  5. /* For IE 8 */
  6. -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
  7. /* For IE 5.5 - 7 */
  8. filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
  9. }

Report this snippet  

You need to login to post a comment.