Skip to content

Instantly share code, notes, and snippets.

@ingozoell
Created August 1, 2013 07:51
Show Gist options
  • Save ingozoell/6129294 to your computer and use it in GitHub Desktop.
Save ingozoell/6129294 to your computer and use it in GitHub Desktop.
Cross-Browser CSS "Opacity"
.cross-browser-opacity {
/* Modern Browsers */ opacity: 0.7;
/* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
/* IE 5-7 */ filter: alpha(opacity=70);
/* Netscape */ -moz-opacity: 0.7;
/* Safari 1 */ -khtml-opacity: 0.7;
}
/* http://css-tricks.com/snippets/css/cross-browser-opacity/ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment