-
-
Save bugcloud/5061598 to your computer and use it in GitHub Desktop.
Loading Animation
fork from http://gunosy.com/redirect?url=http://codepen.io/diegopardo/pen/dGlfC&a=1041836&c=co2X//jj1QT8U&u=24116&t=3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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