CSS Free, no sign-up

CSS border-radius (Blob) generator

Tweak horizontal and vertical corner radii with slash (/) syntax — craft trendy organic blobs and copy production-ready CSS.

Result
Ready-made CSS
.blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
}

How to use it

  1. Select a preset (drop, organic blob, pill, egg, gem) or manipulate corner sliders.
  2. Tune 4 horizontal and 4 vertical percentage radii to produce smooth asymmetry.
  3. Toggle “Live morphing animation” to see the organic shape pulse continuously.
  4. Pick gradient colors, element size, and copy the finished CSS code.

How it works

8-value syntax and the slash (/) divider

Most developers are used to a single border-radius value. However, the CSS specification allows elliptical corners by defining separate horizontal and vertical radii separated by a slash /. Four horizontal radii come first (clockwise from top-left), followed by four vertical radii.

border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;

The secret behind organic blobs

When horizontal and vertical radii differ, corners turn into smooth ellipses rather than circular quarter-arcs. When balanced across opposite corners, the rectangular element transforms into a tactile, liquid-like organic droplet.

.blob {
  width: 280px;
  height: 280px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

Smooth CSS morphing

The 8-value border-radius property interpolates seamlessly across CSS @keyframes. By alternating between two sets of radii, you can achieve a hypnotic, living breathing UI element without any JavaScript libraries.

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

FAQ

What is the order of corners?

Clockwise: top-left, top-right, bottom-right, bottom-left. The same order applies to the vertical radii after the slash.

Why is the slash needed in border-radius?

The slash tells the browser that the corner is an ellipse rather than a circle. Values before the slash define horizontal radii, and values after define vertical radii.

Do all modern browsers support this?

Yes, this syntax has been an official CSS standard and is universally supported across all browsers.

This topic in the HTML & CSS course

More CSS tools

CSS gradient generator Linear, radial and conic gradients: pick colors, angle and stops, then copy the code. Flexbox generator and playground Try flex properties on a container and its items: direction, alignment, gaps and ready-made CSS. CSS Grid generator Set columns and rows, gaps and alignment, then copy the ready-made grid code. CSS box-shadow generator Pick offset, blur, color and layers for a shadow, then copy the ready-made box-shadow code. Cubic-bezier generator Drag the control points of an easing curve and copy the ready-made CSS transition. SVG animation generator Pick a shape and an effect — get inline SVG and CSS keyframes ready to paste. CSS specificity calculator Type selectors to see their (a,b,c) weight, a color-coded breakdown and which rule wins. CSS box model visualizer See content, padding, border and margin as a DevTools-style diagram and copy the CSS. CSS transform generator Move, rotate, scale and skew an element, see its original position and copy the code. CSS clamp() calculator Enter min and max font size and viewport width — get a ready clamp() for fluid typography. Color contrast checker (WCAG) Check text and background contrast against WCAG AA and AAA, and fix a failing pair of colors. CSS clip-path generator Polygons, bevels, arrows and circles: drag control points on the live canvas and copy ready-made CSS. CSS glassmorphism generator Frosted glass effect: backdrop-filter blur, saturation, border highlight and clean CSS. CSS Stacking Context & z-index Visualizer Why z-index: 9999 fails! Explore CSS Stacking Contexts in interactive 3D exploded layers with transform, opacity and isolation triggers. CSS aspect-ratio & object-fit Generator Eliminate squished images & CLS layout jumps: live aspect-ratio proportions and interactive object-position focal point. CSS Filters Studio & Generator Photo effects without design tools: blur, contrast, hue-rotate, sepia, and trending Instagram-style presets. OKLCH Color Picker & Palette Generator Perceptually uniform brightness & vibrant Display P3 colors: OKLCH picker, design system scales, and fallbacks. CSS Scroll-driven Animations Generator Scroll-linked animations without JavaScript: animation-timeline scroll() & view(), reading progress bar & reveal on scroll. CSS Container Queries (@container) Generator Beyond viewport media queries: components adapt directly to their parent container width. Live resizer & @container rules.
WhatsApp