CSS Pattern Library

Your workspaceProcessed on your device
A few things to know.

Runs in your browser. Uses CSS gradients with six-digit sRGB hex colors. Sets repeat sizes from 4–120 px. Dots, grids and checkerboards use square tiles.

  1. Choose Dots, Stripes, Grid, Checkerboard or Crosshatch from the pattern swatches.
  2. Choose the pattern and background colors. Adjust the repeat size, then set mark thickness or angle where available.
  3. Compare the preview at several spacings and download pattern-background.css. Apply the class to the element you want to decorate.