Created
November 28, 2014 02:22
-
-
Save charlenopires/255f615438627b9da825 to your computer and use it in GitHub Desktop.
LEEWqX
This file contains 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
.spinner | |
.rect1 | |
.rect2 | |
.rect3 |
This file contains 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
.spinner | |
margin: 105px auto | |
width: 40px | |
height: 10px | |
font-size: 10px | |
> div | |
height: 100% | |
width: 100% | |
display: block | |
margin-bottom: 0.6em | |
-webkit-animation: stretchdelay 1.2s infinite ease-in-out | |
animation: stretchdelay 1.2s infinite ease-in-out | |
.rect2 | |
-webkit-animation-delay: -1s | |
animation-delay: -1s | |
.rect3 | |
-webkit-animation-delay: -0.8s | |
animation-delay: -0.8s | |
@-webkit-keyframes stretchdelay | |
0%, 40%, 100% | |
-webkit-transform: scaleX(0.8) | |
background-color: #2e5865 | |
box-shadow: 0 0 0 rgba(10,10,10,.1) | |
20% | |
-webkit-transform: scaleX(1) | |
background-color: #00b192 | |
box-shadow: 0 5px 6px rgba(10,10,10,.4) | |
@keyframes stretchdelay | |
0%, 40%, 100% | |
background-color: #2e5865 | |
transform: scaleX(0.8) | |
-webkit-transform: scaleX(0.8) | |
box-shadow: 0 0 0 rgba(10,10,10,.1) | |
20% | |
background-color: #00b192 | |
transform: scaleY(1) | |
-webkit-transform: scaleX(1) | |
box-shadow: 0 5px 6px rgba(10,10,10,.4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment