Created
August 1, 2013 07:51
-
-
Save ingozoell/6129294 to your computer and use it in GitHub Desktop.
Cross-Browser CSS "Opacity"
This file contains 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
.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