JSFiddle - React, Tailwind, and code Playground
HTML
<div class="ring">
<span></span>
</div>
CSS
p { color: white;}
/* div {
border: 2.5px solid white;
-webkit-border-radius: 50%;
height: 80px;
width: 80px;
position: absolute;
left: 0;
right: 0;
top: 50%;
z-index: 5;
margin: 0 auto;
-webkit-animation: pulsate 2s ease-out;
-webkit-animation-iteration-count: infinite;
-webkit-animation-delay: 2s;
opacity: 0.0;
} */
div:before,
div:after, span {
border: 1px solid white;
position: absolute;
content: '';
height: 80px;
width: 80px;
left: 0;
right: 0;
top: 25%;
z-index: 5;
margin: 0 auto;
border-radius: 50%;
box-shadow: 0 0 1px white;
animation: pulsate 3s ease-out infinite;
}
div:after {
-webkit-animation-delay: 2s;
}
span{
-webkit-animation-delay: 1s;
}
@-webkit-keyframes pulsate {
0% {
-webkit-transform: scale(0, 0);
opacity: 1;
}
100% {
-webkit-transform: scale(1.2, 1.2);
opacity: 0;
}
}
body {background: black;}