Created
September 28, 2013 15:42
-
-
Save HerringtonDarkholme/6743293 to your computer and use it in GitHub Desktop.
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
@keyframes pace-bounce { | |
0% { | |
top: 0; | |
animation-timing-function: ease-in; | |
} | |
50% { | |
top: 140px; | |
height: 140px; | |
animation-timing-function: ease-out; | |
} | |
55% { | |
top: 160px; | |
height: 120px; | |
border-radius: 70px / 60px; | |
animation-timing-function: ease-in; | |
} | |
65% { | |
top: 120px; | |
height: 140px; | |
border-radius: 70px; | |
animation-timing-function: ease-out; | |
} | |
95% { | |
top: 0; | |
animation-timing-function: ease-in; | |
} | |
100% { | |
top: 0; | |
animation-timing-function: ease-in; | |
} | |
} | |
@keyframes pace-compress { | |
0% { | |
bottom: 0; | |
margin-left: -30px; | |
width: 60px; | |
height: 75px; | |
background: rgba(20, 20, 20, .1); | |
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1); | |
border-radius: 30px / 40px; | |
animation-timing-function: ease-in; | |
} | |
100% { | |
bottom: 30px; | |
margin-left: -10px; | |
width: 20px; | |
height: 5px; | |
background: rgba(20, 20, 20, .3); | |
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3); | |
border-radius: 20px / 20px; | |
animation-timing-function: ease-out; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment