CSS Background Pattern Generator
Stripes, dots, grid or checks, made only with gradients.
Patterns here are layered gradients, so they stay sharp at any size and need no image file. Angle applies to stripes. Dots, grid and checks use the size as the tile.
Frequently asked questions
Can I fade a pattern?
Put it on a pseudo-element with opacity, or use a translucent ink color in the copied CSS.
Will this print?
Yes. Gradient backgrounds print in modern browsers when background graphics are enabled.