Last active
August 29, 2015 14:03
-
-
Save jonlow/099de7cd9eda434c8fb2 to your computer and use it in GitHub Desktop.
Fixes black speckle issue for PNG's in old IE (8 and down)
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-trans img { | |
filter: progid:DXImageTransform.Microsoft.gradient( | |
startColorstr=#00FFFFFF, endColorstr=#00FFFFFF | |
); | |
/* If the above code doesn't work for IE7, try the below code instead. */ | |
/*background: transparent; | |
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); | |
zoom: 1;*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment