Created
November 22, 2013 11:01
-
-
Save fieke/7598134 to your computer and use it in GitHub Desktop.
Cross browser alpha transparent background CSS (rgba)
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
.div{ | |
background:rgb(255,255,255); | |
background: transparent\9; | |
background:rgba(255,255,255,0.8); | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccffffff,endColorstr=#ccffffff); | |
zoom: 1; | |
&:nth-child(n) { | |
filter: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment