Guides Favs 0

Home / Design / CSS Loader Generator

CSS Loader Generator

Pick a loading animation, set its size, colour and speed, and copy pure HTML and CSS.

Size
Speed
Thickness

Accessible loading: the HTML includes role="status" and a visually hidden “Loading…” label so screen-reader users know something is happening, and the CSS slows the animation for people who have asked their system to reduce motion. Pure CSS — no images, no JavaScript.

About the CSS Loader Generator

The CSS Loader Generator creates loading spinners, dots, bars and pulse animations with pure HTML and CSS — no images, GIFs or JavaScript. Set the style, size, speed, thickness and colours, preview it live and copy the code into your website or app.

How to use the CSS Loader Generator

  1. Pick a loader style.
  2. Set the size, speed, thickness and colours.
  3. Preview the animation.
  4. Copy the HTML and CSS.

Frequently asked questions

Why use a CSS loader instead of a GIF?

CSS loaders are tiny, scale sharply at any size, can be recoloured instantly and don’t need an extra download.

Are CSS loaders accessible?

Add role="status" and a short visually hidden label such as “Loading…” so screen reader users know something is happening.

Do CSS animations slow down a page?

Simple loaders that animate transform or opacity are very light and run smoothly on the graphics chip.