Skip to content

Instantly share code, notes, and snippets.

@djfordz
Created December 26, 2014 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djfordz/9b8a4334b3dfb787de27 to your computer and use it in GitHub Desktop.
Save djfordz/9b8a4334b3dfb787de27 to your computer and use it in GitHub Desktop.
CSS Hack-semi-transparent object...
#front_display {
width: 450px;
height: auto;
padding: 25px;
background:rgb(0,0,0);
background: transparent\9;
background:rgba(0,0,0,0.4);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000);
zoom: 1;
border-radius: 10px;
}
#front_display:nth-child(n) {
filter: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment