Skip to content

Instantly share code, notes, and snippets.

@mkdynamic
Created November 24, 2009 01:50
Show Gist options
  • Save mkdynamic/241559 to your computer and use it in GitHub Desktop.
Save mkdynamic/241559 to your computer and use it in GitHub Desktop.
/* the joy of browser standards... seriously, IE8 - why? */
.foo {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
filter: alpha(opacity=50); /* IE 6 + 7 */
-khtml-opacity: 0.50; /* Safari < 1.2 (KHTML) */
-moz-opacity: 0.50; /* FF < 1.5, Mozilla <= 1.6 */
opacity: 0.50; /* FF 1.5+, Safari 1.2+, Opera 9+ (CSS3) */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment