Files
2026-01-29 17:07:07 +05:00

75 lines
1.1 KiB
CSS

@keyframes drawLine {
0% {
stroke-dashoffset: 500;
opacity: 0;
}
10% {
opacity: 1;
}
50% {
stroke-dashoffset: 0;
}
90% {
opacity: 1;
}
100% {
stroke-dashoffset: -500;
opacity: 0;
}
}
.cls-1,
.cls-2,
.cls-3,
.cls-4,
.cls-5,
.cls-6,
.cls-7 {
fill: none;
stroke: currentColor;
stroke-width: 2px;
stroke-linecap: round;
stroke-linejoin: round;
}
/* Har bir path uchun animatsiya */
.draw-path {
stroke-dasharray: 2000;
stroke-dashoffset: 2000;
animation: drawLine 8s ease-in-out infinite;
fill: none !important;
stroke: rgba(255, 255, 255, 0.3);
}
/* Har bir elementni ketma-ket chizish uchun delay */
.draw-path:nth-child(1) {
animation-delay: 0s;
}
.draw-path:nth-child(2) {
animation-delay: 0.5s;
}
.draw-path:nth-child(3) {
animation-delay: 1s;
}
.draw-path:nth-child(4) {
animation-delay: 1.5s;
}
.draw-path:nth-child(5) {
animation-delay: 2s;
}
.draw-path:nth-child(6) {
animation-delay: 2.5s;
}
.draw-path:nth-child(7) {
animation-delay: 3s;
}
.draw-path:nth-child(8) {
animation-delay: 3.5s;
}