Skip to content
Musterli

Geometric

Crosses CSS pattern

Plus signs on a regular grid.

Customize in the editor

Change colors, size and opacity, then export as CSS, SVG or PNG.

Code

Paste the lines into your element's rule. The pattern repeats by itself and adapts to any size.

CSS

background-color: #f1f5f9;
background-image: conic-gradient(from 270deg at 16px 4px, #334155 0deg 90deg, transparent 90deg 360deg), conic-gradient(from 270deg at 4px 6px, #334155 0deg 90deg, transparent 90deg 360deg), conic-gradient(from 270deg at 4px 6px, #334155 0deg 90deg, transparent 90deg 360deg);
background-size: 32px 32px, 32px 32px, 32px 32px;
background-position: 8px 14px, 14px 8px, 14px 18px;

Tailwind

bg-[#f1f5f9] [background-image:conic-gradient(from_270deg_at_16px_4px,_#334155_0deg_90deg,_transparent_90deg_360deg),_conic-gradient(from_270deg_at_4px_6px,_#334155_0deg_90deg,_transparent_90deg_360deg),_conic-gradient(from_270deg_at_4px_6px,_#334155_0deg_90deg,_transparent_90deg_360deg)] [background-size:32px_32px,_32px_32px,_32px_32px] [background-position:8px_14px,_14px_8px,_14px_18px]

How to use this pattern

Copy the CSS into the rule of the element that should carry the pattern, for example a section, a card or the body. The colors are hex values in the code and can be swapped directly. In the editor you change everything with sliders and can also export the pattern as SVG or PNG.

All CSS patterns
  • Checkerboard

    Alternating squares, as crisp as a chessboard.

    Geometric

  • Diamonds

    Squares standing on their tips in a dense grid.

    Geometric

  • Argyle

    Diamonds with fine diagonal lines, known from socks and sweaters.

    Geometric

  • Zigzag

    Bold zigzag bands running across the surface.

    Geometric

  • Chevron

    Zigzag bands in two colors plus the background, with a seventies feel.

    Geometric

  • Triangles

    Every tile split along its diagonal, forming rows of triangles.

    Geometric