Last active
May 22, 2020 17:36
-
-
Save carmoreira/fec92d2c18f789a932cca732d492ecf3 to your computer and use it in GitHub Desktop.
Bounce Markers Animation - Interactive Geo Maps
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
.imapsMapImage { | |
-webkit-animation-duration: 3s; | |
animation-duration: 3s; | |
-webkit-animation-fill-mode: both; | |
animation-fill-mode: both; | |
-webkit-animation-timing-function: ease-in-out; | |
animation-timing-function: ease-in-out; | |
animation-iteration-count: 2; | |
-webkit-animation-iteration-count: 2; | |
animation-name: bounce; | |
-moz-animation-name: bounce; | |
} | |
@keyframes bounce { | |
0%, 100%, 20%, 50%, 80% { | |
-webkit-transform: translateY(0); | |
-ms-transform: translateY(0); | |
transform: translateY(0) | |
} | |
40% { | |
-webkit-transform: translateY(-30px); | |
-ms-transform: translateY(-30px); | |
transform: translateY(-30px) | |
} | |
60% { | |
-webkit-transform: translateY(-15px); | |
-ms-transform: translateY(-15px); | |
transform: translateY(-15px) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment