Skip to content

Instantly share code, notes, and snippets.

@KruegerDesigns
Created May 15, 2012 15:06
Show Gist options
  • Save KruegerDesigns/2702478 to your computer and use it in GitHub Desktop.
Save KruegerDesigns/2702478 to your computer and use it in GitHub Desktop.
This CSS will cause harsh black edges on transitioning PNGs to fade or blur to white in IE8 and IE7.
.slideshow img {
background: transparent;
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); /* IE6 & 7 */
zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment