Skip to content

Instantly share code, notes, and snippets.

@sadewole
Created July 6, 2021 10:50
Show Gist options
  • Select an option

  • Save sadewole/6c26cf3020fd9ae9f58a339a4623f25d to your computer and use it in GitHub Desktop.

Select an option

Save sadewole/6c26cf3020fd9ae9f58a339a4623f25d to your computer and use it in GitHub Desktop.
marker styling
/* Marker */
.marker {
height: 15px;
width: 15px;
border-radius: 50%;
background-color: blue;
cursor: pointer;
}
.marker:before,
.marker:after {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border: 1px solid blue;
border-radius: 50%;
}
.marker:before {
animation: ripple 2s linear infinite;
}
.marker:after {
animation: ripple 2s linear 1s infinite;
}
@keyframes ripple {
0% {
transform: scale(1);
}
50% {
transform: scale(1.3);
opacity: 1;
}
100% {
transform: scale(1.6);
opacity: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment