Posted By

bitsculptor on 03/26/13


fix png drop transparent shadow

Versions (?)

transparent png drop shadow

 / Published in: CSS

This allows you to set a drop shadow around the actual image in a transparent png instead of around the box.

  1. .shadowed {
  2. -webkit-filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.8));
  3. filter: url(shadow.svg#drop-shadow);
  4. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12,
  5. Color='#444')";
  6. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12,
  7. Color='#444')";
  8. }

Report this snippet  

You need to login to post a comment.