CSS Pattern Generator
Repeating background patterns in pure CSS β stripes, dots, grids, checkers, zigzag.
.pattern {
background: repeating-linear-gradient(45deg, #3b82f6, #3b82f6 12px, #f1f5f9 12px, #f1f5f9 24px);
}Generated locally in your browser β nothing is uploaded.
How to Use
- 1
Choose a pattern
Stripes, dots, grid, checker, zigzag, or crosshatch.
- 2
Set colors and scale
Pattern and background colors plus tile size.
- 3
Copy the background CSS
Pure gradient declarations β no images.
Frequently Asked Questions
- Repeating and hard-stop gradients tile: radial gradients with sharp stops become polka dots, thin linear gradients become grid lines, conic gradients build checkerboards β no image files at all.
Related Tools
CSS Gradient GeneratorBuild linear and radial CSS gradients visuallyBox Shadow GeneratorCreate CSS box shadows with a live previewBorder Radius GeneratorGenerate CSS border-radius values visuallyFlexbox GeneratorBuild CSS flexbox layouts with a visual editorCSS Grid GeneratorBuild CSS grid layouts with a visual editorText Shadow GeneratorGenerate CSS text-shadow effects with live previewCSS Animation GeneratorCreate CSS keyframe animations with a live editorClip-Path GeneratorGenerate CSS clip-path polygon shapes visually