Posted By

marcio on 03/25/10


Tagged

css shadow box-shadow


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

b121417
wesleymacente


Box shadow crossbrowser


 / 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.