Skip to content
Jellykit

CSS Loader Generator

Make pure-CSS spinners, bouncing dots, bars, pulses and progress bars, then copy their HTML and CSS into your page.

  • Runs on your device
Loading tool

About CSS Loader Generator

Choose a loader style, set its size, thickness, colors and speed, and watch it run. Six styles are included: a spinning ring, a double ring, three bouncing dots, four bars, a pulse and an indeterminate progress bar.

You get two snippets, the markup and the stylesheet, with no JavaScript and no images. The markup carries role="status" and a label you choose, so screen readers announce the loader, and the CSS slows the animation for people who ask their system for reduced motion.

How it works

  1. Each style is one element, plus a span per dot or bar where it needs them, animated with a single @keyframes rule that transforms it: a rotation, a scale or a slide.
  2. Dots and bars share one animation, started a little later for each element so they move in a wave.
  3. Transforms and opacity are the only animated properties, which browsers can run smoothly without laying out the page again.
  4. A reduced-motion media query makes the cycle three times longer rather than stopping it, so the page still shows that it is busy.

Questions

Can I put several loaders on one page?

Yes. Every copy shares the same class and keyframes. To show two different loaders, rename the class and the keyframes in one of them so they do not overwrite each other.

How do I hide the loader when loading finishes?

Remove the element, or set the hidden attribute on it. Removing it is best, because a hidden status element can still be announced by some screen readers when it changes.

Why is the preview standing still on my device?

Your system asks for reduced motion, and this site then stops the animations on its own pages, the preview included. The CSS you copy does not stop: on your site it runs the loader three times slower for those visitors.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.