CSS TOOLS · BFOTKIT

CSS Loader Generator | BFOTKit

Create pure-CSS loading animations — spinner ring, bouncing dots, or pulsing bars — with your color, size, and speed, then copy the HTML and CSS.

Paste the HTML and CSS together; the animation runs without JavaScript.

CSS

Everything is generated locally in this browser tab. Nothing is sent to a server.

GUIDE

How to build a CSS loader

Pick the style that matches the wait

A spinner ring suits indeterminate waits of a few seconds; bouncing dots read as friendly and compact in buttons; bars and pulse circles fit dashboards and skeleton screens. All four run on pure CSS keyframes with no JavaScript.

Size and speed together

Loader size should match the context: 16–20px inside buttons, 32–48px for page sections. Speed around 0.8–1.2s per cycle feels active without being frantic; slower than 2s starts to look broken.

Copy HTML and CSS as a pair

The output includes a small HTML snippet plus the rules and keyframes it depends on. Keep the class names intact, or rename both sides consistently — the animation only works when the selector matches.

HELP / FAQ

Loader generator questions

Do these loaders need JavaScript?

No. All four styles animate with CSS keyframes only, so they keep running even while scripts load — which is exactly when you need a loader most.

Can I change the color after copying?

Yes. The color appears once in the CSS as the currentColor or an explicit value; search for the color value and replace it, or edit the custom property if you kept one.

Why does my loader look choppy?

Animations based on transform and opacity run on the compositor and stay smooth; properties like width or margin animate on the main thread and can stutter. The generated loaders stick to transform and opacity for that reason.

How do I show it only while loading?

Wrap the snippet in a container you toggle with a hidden attribute or a class. The animation pauses when the element is display: none, so it resumes cleanly when shown again.

EXPLORE BY CATEGORY · BFOTKIT

More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

Browse all tools