Skip to content

Instantly share code, notes, and snippets.

@remcorakers
Created November 9, 2013 11:14
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 remcorakers/7384394 to your computer and use it in GitHub Desktop.
Save remcorakers/7384394 to your computer and use it in GitHub Desktop.
.demo {
height: 200px;
width: 250px;
position: relative;
#logo {
position: absolute;
z-index: 500;
top: 0;
left: 0;
}
.fog {
position: absolute;
left: 0;
z-index: 1000;
width: 230px;
height: 200px;
opacity: 0.4;
&#fog1 {
background: url(../img/fog1.png) no-repeat; }
&#fog2 {
background: url(../img/fog2.png) no-repeat; }
&#fog3 {
background: url(../img/fog3.png) no-repeat; }
}
.lightning {
position: absolute;
z-index: 1001;
width: 230px;
height: 200px;
display: none;
&#lightning1 {
top: 0;
left: 30px;
background: url(../img/lightning1.png) no-repeat;
}
&#lightning2 {
top: 10px;
left: 15px;
background: url(../img/lightning2.png) no-repeat;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment