Last active
September 14, 2020 09:39
-
-
Save trueqap/1a5b83d10b5fcbc52700f12200236c27 to your computer and use it in GitHub Desktop.
style.css
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
.myglow { | |
background: #FF0C0C; | |
border-radius: 50%; | |
margin: 10px; | |
height: 10px; | |
width: 10px; | |
box-shadow: 0 0 0 0 rgba(0, 0, 0, 1); | |
transform: scale(1); | |
animation: pulse 2s infinite; | |
animation-delay: 100ms; | |
} | |
.myglow2 { | |
animation-delay: 300ms; | |
} | |
.myglow3 { | |
animation-delay: 500ms; | |
} | |
.myglow4 { | |
animation-delay: 700ms; | |
} | |
.myglow5 { | |
animation-delay: 900ms; | |
} | |
@keyframes pulse { | |
0% { | |
transform: scale(0.95); | |
box-shadow: 0 0 0 0 rgba(255, 12, 12, 0.37); | |
} | |
70% { | |
transform: scale(1); | |
box-shadow: 0 0 0 10px rgba(255, 12, 12, 0); | |
} | |
100% { | |
transform: scale(0.95); | |
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment