Skip to content

Instantly share code, notes, and snippets.

@lajlev
Created June 20, 2014 09:33
Show Gist options
  • Save lajlev/6e0df585a11d6b322d76 to your computer and use it in GitHub Desktop.
Save lajlev/6e0df585a11d6b322d76 to your computer and use it in GitHub Desktop.
css overlay body - trial expired
body.expired:before {
content: "";
display: block;
width: 100%;
height: 100%;
position: absolute;
top: 0;
z-index: 9999;
background: rgba(0, 0, 0, .7);
}
body.expired:after {
content: "Trial Expired";
display: block;
width: 90%;
position: absolute;
top: 35%;
left: 5%;
z-index: 99999;
font-size: 3em;
color: #fff;
text-align: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment