CSS Border Radius Generator
create complex CSS border-radius shapes with per-corner controls
By Bikram NathLast updated
Generates CSS border-radius declarations for any shape, from uniform pill buttons to asymmetric blob forms used in hero sections. Adjust each corner's horizontal and vertical radius independently, and the tool computes shorthand like `border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%` while rendering the live shape, eliminating the trial-and-error loop you would otherwise run in browser DevTools.
Try it now — free, instant, no signup
What is CSS Border Radius Generator?
CSS Border Radius Generator lets you set all eight radius values, four corners each with a horizontal and vertical component, through visual handles and shows the resulting shape instantly. The underlying property accepts up to eight values separated by a slash, where values before the slash control horizontal radii and values after control vertical radii. Drag any handle to an extreme and you can form oval-like blobs without writing a single character by hand.
When you need a simple uniform corner, DevTools number-scrubbing is faster. But the moment you want asymmetric corners, the kind used for organic blob sections in marketing pages, the 8-value slash syntax becomes error-prone to write manually. Design tools like Figma let you round corners visually, but they export SVG paths, not `border-radius` declarations you can drop into a stylesheet and animate with CSS transitions.
One gotcha: percentage values for border-radius are relative to the element's border-box dimensions, not a single fixed length. The horizontal radius percentage is relative to the element's width, and the vertical radius percentage is relative to its height. This means `50%` on a non-square element produces an ellipse, not a circle. A circle requires equal pixel values or `50%` only when width equals height.