SVG vs image backgrounds
A hero image can weigh 200 KB. The same background as SVG is often 1–3 KB — and scales to any screen. For flat and geometric designs, SVG wins every time.
Waves and dividers
Layered wave dividers are a classic: generate one with the SVG background generator, tune the colors, and drop it into your hero or footer.
Seamless patterns
Patterns use a small tile with userSpaceOnUse units, so they repeat perfectly. Generate a tile with the SVG pattern generator and use it as a background-image.
Using SVG backgrounds in CSS
Convert your SVG to a data URI and use it directly in CSS:
`background-image: url("data:image/svg+xml,…");`
Performance tips
- Keep shapes simple — fewer paths, smaller files
- Use one shared SVG for multiple sizes
- Preload critical background SVGs
Generate a background now.