Skip to content

Instantly share code, notes, and snippets.

@trueqap
Last active September 14, 2020 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trueqap/1a5b83d10b5fcbc52700f12200236c27 to your computer and use it in GitHub Desktop.
Save trueqap/1a5b83d10b5fcbc52700f12200236c27 to your computer and use it in GitHub Desktop.
style.css
.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