Animated website backgrounds: 4 options and how not to kill speed
Gradient, fog, halftone and fluted glass: which animated backgrounds suit a website, why they beat video and how to keep the page fast.

An animated background sets the mood and makes the first screen memorable. Pick one that does not steal attention from content or drain a phone’s battery.
1. Drifting gradient
Color blobs slowly flow into each other. Suits almost any brand, especially SaaS.

2. Fog
Soft layers that drift and react to the cursor. Great for atmospheric projects, architecture and premium brands.

3. Halftone
A print-style dot pattern. Graphic and unusual, pairs well with big type.

4. Fluted glass
Light refracted through vertical ribs. A premium effect for a hero or card backgrounds.

Why not just video
- Video weighs megabytes, a code background tens of kilobytes.
- Code backgrounds stay sharp on any screen.
- They can react to the cursor and scroll.
How not to kill speed
- Pause the animation when the background leaves the screen.
- Lower render resolution on phones.
- Show a still frame to people with reduced motion enabled.
All four backgrounds here are already optimized: they pause off screen and run on phones.




