Created
December 29, 2014 09:49
-
-
Save 5iDS/8af6a6a0eba58ae784a4 to your computer and use it in GitHub Desktop.
Crossbrowser RGBA and Prevention of Opacity Propagation
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
/** | |
* Crossbrowser RGBA and Prevention of Opacity Propagation | |
* Created by Martin Ivanov | |
* http://wemakesites.net | |
*/ | |
.outer | |
{ | |
position: absolute; | |
top: 24px; | |
left: 24px; | |
border: solid 1px #000; | |
padding: 24px; | |
background: rgba(64, 64, 64, 0.5); /* R, G, B, A */ | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f404040, endColorstr=#7f404040); /* AA, RR, GG, BB */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment