CSS Dot Loader
A smooth three-dot loading animation built entirely with CSS — no JavaScript, no SVG.
Code
CSS Dot Loader
A minimal three-dot bouncing loader built entirely with CSS @keyframes — zero JavaScript, zero SVG, zero dependencies.
How it works
Three <span> elements share the same bounce keyframe animation, each with a staggered animation-delay. The animation scales each dot from normal to slightly enlarged and back, creating a wave effect.
Variants
- Change
animation-timing-functiontoease-in-outfor a softer bounce - Swap
scaleYfortranslateYfor a vertical bounce - Adjust
animation-durationfor faster/slower rhythm
When to use it
- Button loading state (inline)
- Full-page loading overlay
- List item placeholder while data fetches