selector { animation: spin 1s linear infinite; animation-play-state: paused; animation-delay: calc(var(--scroll) * -1s); } @keyframes spin { 100% { transform: rotate(360deg); } }
selector { animation: spin 1s linear infinite; animation-play-state: paused; animation-delay: calc(var(--scroll) * -1s); } @keyframes spin { 100% { transform: rotate(360deg); } }