#e8e8e8
1.loader { 2 --size: 40px; 3 display: flex; 4 gap: 0.6rem; 5} 6 7.box { 8 width: var(--size); 9 height: var(--size); 10 background: #0270e1; 11 animation: rotate 2s infinite; 12} 13 14.box:nth-child(2) { 15 animation-delay: 0.25s; 16} 17 18.box:nth-child(3) { 19 animation-delay: 0.5s; 20} 21 22@keyframes rotate { 23 50% { 24 transform: rotate(180deg) 25 } 26}
736 views
736 views
Comments
MIT License