Skip to content
Jellykit

CSS Blob Generator

Make organic blob shapes from a single eight-value border-radius, with gradient fill and an optional morphing animation.

  • Runs on your device
Loading tool

About CSS Blob Generator

A blob here is an ordinary element whose four corners each get a different horizontal and vertical radius. No SVG and no images: one border-radius line gives a soft, lopsided shape that scales with the element and can be animated like any other property.

Pick a shape number to get a new blob, set how irregular it may be, and choose a flat color or a gradient. Switch on animation and the CSS includes keyframes that morph between three related shapes, with a rule that stops the motion for people who have asked their device to reduce it.

How it works

  1. The shape number seeds a small repeatable random generator, which places the point where the two curves on each side meet, somewhere within 50% plus or minus the irregularity.
  2. The two radii on each side always add up to 100%, so the curves join without a flat stretch and the blob touches all four edges of its box.
  3. Animation uses the chosen shape and the next two shape numbers as keyframes. The browser interpolates border-radius smoothly between them.
  4. The preview follows your device’s reduced-motion setting, and so does the copied CSS, through a prefers-reduced-motion rule.

Questions

Can I put an image or text inside the blob?

Yes. It is a normal element, so content, background images and overflow: hidden all work. Text near the edges may be clipped, so give it some padding.

Why is the animation not moving in the preview?

Your device is set to reduce motion, and the preview respects that. The copied CSS does the same for your visitors; remove the media query at the end if you really want the motion for everyone.

Will the same shape number give the same blob later?

Yes, for the same irregularity. The shape is computed from the number alone, and the settings are kept in the page address, so a bookmark brings the same blob back.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.