Skip to content
Musterli

Dots

Rings CSS pattern

Circle outlines on a grid, light and airy.

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: #1e1b4b;
background-image: radial-gradient(circle 12px at 18px 18px, transparent 0px 8px, #a5b4fc 9px 11px, transparent 12px);
background-size: 36px 36px;
background-position: 0 0;

Tailwind

bg-[#1e1b4b] [background-image:radial-gradient(circle_12px_at_18px_18px,_transparent_0px_8px,_#a5b4fc_9px_11px,_transparent_12px)] [background-size:36px_36px] [background-position:0_0]

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
  • Polka Dots

    Evenly spaced dots on a square grid, the classic for playful surfaces.

    Dots

  • Staggered Dots

    Dots in offset rows, denser and calmer than a straight grid.

    Dots

  • Two-Tone Dots

    Staggered dots that alternate between two colors.

    Dots

  • Mixed Dots

    Large and small dots in two colors, alternating in a relaxed rhythm.

    Dots

  • Targets

    Concentric rings in two colors, like tiny targets.

    Dots

  • Grid Lines

    Thin lines on a square grid, rotatable to any angle.

    Grid