CSS Blob Generator

Make soft, organic blob shapes with nothing but CSS. Each blob is a single div with an eight-value border-radius, so it stays sharp at any size, takes a gradient or an image, and can morph smoothly between shapes with a short animation. Click New blob until you like one, fine-tune its four edges, and copy the code.

Preview background

Same as the first for a flat colour

Code
.blob {
  width: 300px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  border-radius: 26% 74% 26% 74% / 60% 28% 72% 40%;
}

Generating runs in your browser. What you type never leaves this device.

Features

  • Random blobs with adjustable wobble, from gentle to wild

  • Fine-tune with four edge sliders

  • Flat colour or two-colour gradient fill

  • Optional morphing animation with @keyframes, loop time adjustable

  • Copy CSS, HTML or Tailwind classes; no SVG or image file needed

Where blobs are used

Hero section decoration

Blurred or gradient blobs behind headlines and product shots for a soft, modern look.

Profile and team photos

Put a photo in a blob instead of a circle: add background-image and background-size: cover to the blob.

Loading and empty states

A slowly morphing blob is a calm placeholder animation.

How CSS blobs work

The eight-value border-radius

border-radius accepts two sets of four values separated by a slash: the horizontal radii of the four corners, then the vertical radii. When neighbouring corners share an edge (for example 30% and 70% on the top edge), the curves meet smoothly and the box becomes a blob. The four sliders set where each edge's curves meet.

Animating blobs

Browsers can animate between two border-radius values, so the morph is a @keyframes rule that moves through three shapes and back. Keep loops slow (6 to 12 seconds) so the motion stays calm, and consider turning it off for people who set "reduce motion": wrap the animation in @media (prefers-reduced-motion: no-preference).

Related tools

CSS Blob Generator - FAQ