CSS Loader and Spinner Generator
Pick a loading animation, set its colour, size and speed, and copy lightweight HTML and CSS with no images or JavaScript.
How to use the CSS Loader Generator
- Choose a loaderPick a spinning ring, dual ring, bouncing dots, equalizer bars, pulse, ripple or flipping square.
- Style itSet the colour to match your brand, the size and the speed. Check it on your page background.
- Copy HTML and CSSPaste the HTML where the loader should appear and the CSS into your stylesheet. It includes an accessible label and slows down for people who prefer reduced motion.
Example
The default spinning ring is a 56 px circle with a 7 px border: a light track in your colour at 20% opacity and a solid top edge that rotates once per second.
Bouncing dots uses three 14 px dots with staggered delays, so they bounce one after another.
Frequently asked questions
Why use a CSS loader instead of a GIF?
CSS loaders are tiny, stay sharp on every screen, can change colour with your theme, and do not need an extra file download.
How do I show and hide it?
Show the loader element while content is loading, then remove it or set display: none when the data arrives, usually in your JavaScript.
Is it accessible?
The HTML has role="status" and aria-label="Loading" so screen readers announce it, and the animation slows down for people who turn on “reduce motion” in their system settings.