Skip to content
Musterli

Waves

Ripples CSS pattern

Concentric rings from the center, like ripples on water.

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: #0f172a;
background-image: repeating-radial-gradient(circle at 50% 50%, #38bdf8 0px 1.5px, transparent 2.5px 21.5px, #38bdf8 22.5px 24px);
background-size: 100% 100%;
background-position: 0 0;

Tailwind

bg-[#0f172a] [background-image:repeating-radial-gradient(circle_at_50%_50%,_#38bdf8_0px_1.5px,_transparent_2.5px_21.5px,_#38bdf8_22.5px_24px)] [background-size:100%_100%] [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
  • Sunrise

    Wide arcs in two colors rising from the bottom edge.

    Waves

  • Wavy Lines

    Smooth wavy lines built from half circles, row after row.

    Waves

  • Scallops

    Rows of half circles with a small accent, like a scalloped edge.

    Waves

  • Scales

    Overlapping arcs like fish scales or roof tiles.

    Waves

  • Rainbows

    Little three-band rainbows, row after row.

    Waves

  • Checkerboard

    Alternating squares, as crisp as a chessboard.

    Geometric