Created
July 6, 2021 10:50
-
-
Save sadewole/6c26cf3020fd9ae9f58a339a4623f25d to your computer and use it in GitHub Desktop.
marker styling
This file contains hidden or 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
| /* 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