Skip to content

Instantly share code, notes, and snippets.

@fieke
Created November 22, 2013 11:01
Show Gist options
  • Save fieke/7598134 to your computer and use it in GitHub Desktop.
Save fieke/7598134 to your computer and use it in GitHub Desktop.
Cross browser alpha transparent background CSS (rgba)
.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