Created
July 11, 2014 10:58
-
-
Save michaelwilhelmsen/a904427e06d29bcd21d7 to your computer and use it in GitHub Desktop.
Dynamic Shadow for images with transparency using filters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .png-image { | |
| -webkit-filter: drop-shadow(12px 12px 25px rgba(0,0,0,0.5)); | |
| filter: url(#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')"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment