Skip to content

Instantly share code, notes, and snippets.

@mkk360
Created January 20, 2022 09:39
Show Gist options
  • Select an option

  • Save mkk360/da3fbab1a2d03f1780b9bd7a02bb5694 to your computer and use it in GitHub Desktop.

Select an option

Save mkk360/da3fbab1a2d03f1780b9bd7a02bb5694 to your computer and use it in GitHub Desktop.
<div class="map_marker" style="left: -9.46172px; top: -8.56999px;">
<div></div>
<div></div>
</div>
<style>
.map_marker > div:first-child {
-webkit-animation: markerWave 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite forwards;
animation: markerWave 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite forwards
}
.map_marker > div:first-child + div {
-webkit-animation: markerWave 1.5s 0.45s cubic-bezier(0, 0, 0.2, 1) infinite forwards;
animation: markerWave 1.5s 0.45s cubic-bezier(0, 0, 0.2, 1) infinite forwards
}
@-webkit-keyframes markerWave {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0.8
}
20% {
opacity: 0.8
}
100% {
-webkit-transform: scale(5.5);
transform: scale(5.5);
opacity: 0
}
}
@keyframes markerWave {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0.8
}
20% {
opacity: 0.8
}
100% {
-webkit-transform: scale(5.5);
transform: scale(5.5);
opacity: 0
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment