Skip to content

Instantly share code, notes, and snippets.

@bugcloud
Forked from anonymous/index.html
Created March 1, 2013 00:58
Show Gist options
  • Save bugcloud/5061598 to your computer and use it in GitHub Desktop.
Save bugcloud/5061598 to your computer and use it in GitHub Desktop.
<h1 class="loader">
<span>L</span>
<span>O</span>
<span>A</span>
<span>D</span>
<span>I</span>
<span>N</span>
<span>G</span>
</h1>
body{
background: #CCD0D4;
}
h1.loader{
text-align: center;
text-transform: uppercase;
font-family: 'Nunito', sans-serif;
font-size: 4.6875em;
color: transparent;
letter-spacing: 0.01em;
}
.loader span{
text-shadow:
0 0 2px rgba(204, 208, 212,0.9),
0 15px 25px rgba(0, 0, 0, 0.3),
0 -2px 3px rgba(0, 0, 0, 0.1),
0 -5px 10px rgba(255, 255, 255, 0.5),
0 5px 10px rgba(0, 0, 0, 0.3),
0 3px 4px rgba(255, 255, 255, 0.2),
0 0 20px rgba(255, 255, 255, 0.45);
animation: loading 0.85s ease-in-out infinite alternate;
}
@keyframes loading {
to {text-shadow:
0 0 2px rgba(204, 208, 212,0.2),
0 0 3px rgba(0, 0, 0, 0.02),
0 0 0 rgba(0, 0, 0, 0),
0 0 0 rgba(255, 255, 255, 0),
0 0 0 rgba(0, 0, 0, 0),
0 0 0 rgba(255, 255, 255, 0),
0 0 0 rgba(255, 255, 255, 0);}
}
.loader span:nth-child(2){
animation-delay:0.15s;
}
.loader span:nth-child(3){
animation-delay:0.30s;
}
.loader span:nth-child(4){
animation-delay:0.45s;
}
.loader span:nth-child(5){
animation-delay:0.60s;
}
.loader span:nth-child(6){
animation-delay:0.75s;
}
.loader span:nth-child(7){
animation-delay:0.90s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment