Skip to content
Musterli

Waves

Wavy Lines CSS pattern

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

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: #f8f5ee;
background-image: radial-gradient(circle 18px at 32px 43px, transparent 0px 14px, #1f3a5f 15px 17px, transparent 18px), radial-gradient(circle 18px at 32px 0px, transparent 0px 14px, #1f3a5f 15px 17px, transparent 18px);
background-size: 64px 43px, 64px 43px;
background-position: 0 0, 32px 0px;

Tailwind

bg-[#f8f5ee] [background-image:radial-gradient(circle_18px_at_32px_43px,_transparent_0px_14px,_#1f3a5f_15px_17px,_transparent_18px),_radial-gradient(circle_18px_at_32px_0px,_transparent_0px_14px,_#1f3a5f_15px_17px,_transparent_18px)] [background-size:64px_43px,_64px_43px] [background-position:0_0,_32px_0px]

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
  • Ripples

    Concentric rings from the center, like ripples on water.

    Waves

  • Sunrise

    Wide arcs in two colors rising from the bottom edge.

    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