Posted By

crispunk on 06/26/10


Tagged

css box shadow


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

crispunk
Nanobyte
kunal005


Cross Browser Box Shadow


 / Published in: CSS
 

URL: http://www.plan-zero.org

Cross browser box shadow.

  1. .box-shadow{
  2. background-color:#FFF;/*fix for IE filter*/
  3. -moz-box-shadow:2px 3px 10px #444;
  4. -webkit-box-shadow:2px 3px 10px #444;
  5. box-shadow:2px 3px 10px #444;
  6. filter: progid:DXImageTransform.Microsoft.Shadow(color='#444444', Direction=145, Strength=6)
  7. }

Report this snippet  

You need to login to post a comment.