56 lines
833 B
CSS
56 lines
833 B
CSS
.pulse-wrapper {
|
|
position: relative;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.core {
|
|
position: absolute;
|
|
inset: 0;
|
|
margin: auto;
|
|
width: 12px;
|
|
height: 12px;
|
|
background: #dc2626; /* red-600 */
|
|
border-radius: 50%;
|
|
z-index: 2;
|
|
}
|
|
|
|
.ring {
|
|
position: absolute;
|
|
inset: 0;
|
|
margin: auto;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: #dc2626;
|
|
border: #dc2626;
|
|
outline: #dc2626;
|
|
color: #dc2626;
|
|
animation: ripple 3s ease-out infinite;
|
|
}
|
|
|
|
/* har bir ring kechikib chiqadi */
|
|
.ring:nth-child(2) {
|
|
animation-delay: 0.5s;
|
|
}
|
|
.ring:nth-child(3) {
|
|
animation-delay: 1.5s;
|
|
}
|
|
.ring:nth-child(4) {
|
|
animation-delay: 2s;
|
|
}
|
|
.ring:nth-child(5) {
|
|
animation-delay: 1.5s;
|
|
}
|
|
|
|
@keyframes ripple {
|
|
0% {
|
|
transform: scale(1);
|
|
opacity: 0.6;
|
|
}
|
|
100% {
|
|
transform: scale(2.5);
|
|
opacity: 0;
|
|
}
|
|
}
|