CSS Loader Generator

A spinner, dots or a bar, with the keyframes included.


The speed slider is in tenths of a second, so 10 is one second. The animation loops forever. Respect prefers-reduced-motion in production and pause the loader when the work is finished.

Frequently asked questions

Why is the spinner a border?

Three sides are faint and one side is solid. Rotating the box looks like a spinning arc, with no SVG.

Can I change the timing?

Yes. The copied animation duration is the number you chose.