Last active
October 5, 2015 07:58
-
-
Save konrad-gibaszewski/2775010 to your computer and use it in GitHub Desktop.
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
/* opacity: <number> | inherit */ | |
zoom: 1; /* Required for IE 5-7, or something to trigger hasLayout, like width: 100%; */ | |
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE8-9, always before filter */ | |
filter: alpha(opacity=25); /* IE5+ */ | |
-khtml-opacity: 0.25; /* Safari 1.x (pre WebKit) */ | |
-moz-opacity: 0.25; /* Older than Mozilla 0.9 */ | |
opacity: 0.25; /* Mozilla0.9+, Chrome, Safari2+, Opera9+, IE9+ */ | |
/* https://developer.mozilla.org/en/CSS/opacity */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment