GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

08Spin utility

Leaving the built-in `animate-spin` (1s) untouched and simply adding `--animate-spin-slow: spin 3s linear infinite` in `@theme` lets a logo and a loading ring share the same rotation at two different speeds.

Best forDecorative logo spins, a loading ring alongside a refresh button

@keyframes spinrotate(360deg) 공유linear infinite
Spin utility
Open in a new tab

08 Spin utility — Measured area 1.432% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · 9 Tailwind v4 Animations — One Line, Copy-Paste

The post this demo lives in

9 Tailwind v4 Animations — One Line, Copy-Paste - preview of all 9 demos9 Tailwind v4 Animations — One Line, Copy-PasteThese nine Tailwind v4 animations turn one utility class into a real keyframe, a hover state, or a reduced-motion guard, See all demos in this post

If you like this effect - similar demos