Design repeating CSS backgrounds with live preview. Pick a pattern, tune colors and scale — see it applied to the full page instantly.
20+ patterns · Custom upload · Live page preview · Copy-ready CSS
Click any card to load it into the generator. 20 hand-crafted combinations ready to use.
Everything you need to know about CSS background patterns.
Use background-image with linear-gradient, radial-gradient, or an SVG data URI, then set background-repeat: repeat and background-size to control tile size. For example: background-image: radial-gradient(circle, #7c6bff 2px, transparent 2px); background-size: 20px 20px creates a repeating dot grid.
Yes — CSS allows stacking multiple background-image values separated by commas. Each layer renders above the previous, enabling complex patterns like crosshatch (two diagonal gradients) or checkerboard (four linear gradients). Use matching background-size and background-position values for each layer.
Embed an SVG as a data URI in background-image: url('data:image/svg+xml,...'). The SVG string is URL-encoded and tiles with background-repeat: repeat. This enables complex shapes — hexagons, waves, circuit traces — that are impossible with gradients alone. Keep SVG markup minimal for best performance.
Use rgba() or hsla() colors in your gradient functions rather than the opacity CSS property. For example: radial-gradient(circle, rgba(124,107,255,0.5) 2px, transparent 2px) gives 50% opacity on the pattern only, without affecting any child elements inside the element.