Task path / input to outcome
How to design a CSS loader
- 01
Pick a loader style
Open Loader style and choose Orbit ring for a classic spinning ring or Three dots for a bouncing dot trio. The live preview animates with every change you make, and each style ships its own @keyframes when you export.
- 02
Size the frame and stroke
Use a 24–160 px frame and 2–20 px stroke or dots. A ring stroke must be less than half the frame. Three dots must fit with at least 2 px between them; otherwise copying and downloading are disabled. The ring’s exported dimensions include its border.
- 03
Tune speed and colors
Choose a Cycle duration from 0.2 to 4 seconds in 0.05 s steps. Active color sets the ring's top stroke or the middle dot; Track color sets the rest of the ring or the two outer dots. Slower cycles read as calm background work; fast ones feel urgent.
- 04
Or start from the sample
Press Load sample to apply a bold Three dots preset — a 72 px frame, 12 px dots, and a 0.75 s cycle in red and yellow — as a jumping-off point. Reset always returns to the default orbit ring.
- 05
Copy or download the CSS
Press Copy CSS to put the ruleset on the clipboard, or Download .css to save toolars-loader.css. The output panel shows the exact bytes you are exporting, and both buttons stay disabled while any value fails validation.
- 06
Wire it into your markup
Orbit ring needs a single element carrying the .loader class; Three dots expects three span children inside it. The export includes a prefers-reduced-motion block that stops the animation for motion-sensitive visitors.