Skip to content

Instantly share code, notes, and snippets.

@eneveu
Created November 19, 2013 16:25
Show Gist options
  • Save eneveu/7548054 to your computer and use it in GitHub Desktop.
Save eneveu/7548054 to your computer and use it in GitHub Desktop.
CSS mask that fills the parent div
.mask {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10000;
background-color: #777;
opacity: 0.4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment