Created
November 1, 2012 20:25
-
-
Save NapoleonWils0n/3996249 to your computer and use it in GitHub Desktop.
css: cross browser opacity
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
.transparent_class { | |
/* IE 8 */ | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; | |
/* IE 5-7 */ | |
filter: alpha(opacity=50); | |
/* Netscape */ | |
-moz-opacity: 0.5; | |
/* Safari 1.x */ | |
-khtml-opacity: 0.5; | |
/* Good browsers */ | |
opacity: 0.5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment