Created
December 19, 2017 17:38
-
-
Save sirodoht/455768edd29d790eb5fc3c29327ec70e to your computer and use it in GitHub Desktop.
Simple bounce up CSS animation
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
.bounce-up { | |
animation: bounce-up 3s infinite; | |
} | |
@keyframes bounce-up { | |
0%, 20%, 50%, 80%, 100% { | |
transform: translateY(0); | |
} | |
40% { | |
transform: translateY(-10px); | |
} | |
60% { | |
transform: translateY(-5px); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment