Posted By

clhorn99 on 02/25/10


Tagged

box shadow


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

brent-man


CSS3 - Box Shadow


 / Published in: CSS
 

  1. box-shadow: <color> <horizontal offset> <vertical offset> <blur>;
  2.  
  3. .selector {
  4. box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; /* Opera 10.5, IE 9.0 */
  5. -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; /* FF3.5+ */
  6. -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; /* Saf3.0+, Chrome */
  7. filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0px, OffY=0px, Color='#ffffff'); /* IE6,IE7 */
  8. -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0px, OffY=0px, Color='#ffffff')"; /* IE8 */
  9. }

Report this snippet  

You need to login to post a comment.