Cross Browser Box Shadow


/ Published in: CSS
Save to your folder(s)

Cross browser box shadow.


Copy this code and paste it in your HTML
  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. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.