/ Published in: CSS

This allows you to set a drop shadow around the actual image in a transparent png instead of around the box.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.shadowed { -webkit-filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.8)); filter: url(shadow.svg#drop-shadow); -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')"; filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')"; }
Comments
