JSFiddle - React, Tailwind, and code Playground
HTML
<div class="cricleplay">
<div class="small"></div>
<div class="middle"></div>
<div class="large"></div>
</div>
CSS
.small{
width: 25px;
height: 25px;
border-style: solid;
border-top-color: transparent;
border-left-color: transparent;
border-bottom-color: transparent;
border-radius: 50%;
box-sizing: border-box;
vertical-align: middle;
display: inline-block;
}
.middle{
width: 40px;
height: 40px;
border-style: solid;
border-top-color: transparent;
border-left-color: transparent;
border-bottom-color: transparent;
border-radius: 50%;
box-sizing: border-box;
vertical-align: middle;
display: inline-block;
margin-left: -30px;
animation: show2 3s ease-in-out infinite;
opacity: 1;
}
@keyframes show2 {
0% { opacity: 0;}
30% { opacity: 1;}
100% { opacity: 0;}
}
.large{
width: 50px;
height: 50px;
border-style: solid;
border-top-color: transparent;
border-left-color: transparent;
border-bottom-color: transparent;
border-radius: 50%;
box-sizing: border-box;
vertical-align: middle;
display: inline-block;
margin-left: -40px;
animation: show3 3s ease-in-out infinite;
opacity: 1;
}
@keyframes show3 {
0% { opacity: 0;}
60% { opacity: 1;}
100% { opacity: 0;}
}