Skip to content

Instantly share code, notes, and snippets.

@CodeMyUI
Created August 14, 2017 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CodeMyUI/1f40dba68c19f1c98576434711580e9c to your computer and use it in GitHub Desktop.
Save CodeMyUI/1f40dba68c19f1c98576434711580e9c to your computer and use it in GitHub Desktop.
Loading page
<span class="back">
<span>L</span>
<span>o</span>
<span>a</span>
<span>d</span>
<span>i</span>
<span>n</span>
<span>g</span>
</span>
@import url(https://fonts.googleapis.com/css?family=Roboto:300);
html {
height:90%;
}
body {
background:#3F485B;
display:flex;
align-items:center;
height:90%;
}
.back {
margin:1em auto;
font-family:"Roboto";
}
.back span {
font-size:3em;
color:#F2C640;
background:#262B37;
display:table-cell;
box-shadow:inset 0 0 5px rgba(0,0,0,0.3), 0 5px 0 #ccc;
padding: 0 15px;
line-height: 100px;
animation:jumb 2s infinite;
}
@keyframes jumb {
0% {
transform:translateY(0px)
}
50% {
transform:translateY(-30px);
box-shadow:0 15px 0 rgb(242, 198, 64);
}
100% {
transform:translateY(0px)
}
}
.back span:nth-child(1) {
animation-delay:0s;
}
.back span:nth-child(2) {
animation-delay:.1s;
}
.back span:nth-child(3) {
animation-delay:.2s;
}
.back span:nth-child(4) {
animation-delay:.3s;
}
.back span:nth-child(5) {
animation-delay:.4s;
}
.back span:nth-child(6) {
animation-delay:.5s;
}
.back span:nth-child(7) {
animation-delay:.6s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment