<div class="center">
<div class="circle pulse orange"></div>
<div class="circle pulse blue"></div>
<div class="circle pulse rose"></div>
<div class="circle pulse green"></div>
<a href="https://reactgo.com/css-pulse-animation/" target="_blank" class="master">Read tutorial</a>
</div>
body {
height: 100vh;
overflow: hidden;
}
.green{
background: #66FF99;
}
.orange{
background: #f17c57fa;
}
.blue{
background: #3652D9;
}
.rose{
background:#FF66CC;
}
.center {
display: flex;
justify-content: space-evenly;
align-items: center;
height: 100vh;
}
.circle {
width: 35px;
height: 35px;
border-radius: 50%;
box-shadow: 0px 0px 1px 1px #0000001a;
}
.pulse {
animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
0% {
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
}
100% {
box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
}
}
.master{
color:black;
float:right;
}
@media (max-width:900px){
.master{
display:none
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.