Border Radius Generator
Drag eight handles to shape any corner, including organic blob shapes, and copy the border-radius CSS.
Preview — drag the handles
Corner values
Horizontal radii
Vertical radii
Presets
CSS
Full 8-value syntax
How to use the border-radius generator
- Drag any of the eight handles around the preview — the top and bottom handles set horizontal radii, the left and right ones set vertical radii.
- Switch between
%andpx, or untick the 4-value option to write the fullhorizontal / verticalsyntax. - Try a preset or the random blob, then copy the CSS.
FAQ
What does the slash in border-radius mean?
Everything before the slash sets the horizontal radius of each corner; everything after sets the vertical radius. border-radius: 60% 40% 30% 70% / 60% 30% 70% 40% therefore gives every corner an elliptical, not circular, curve — that is how blob shapes are made.
Should I use % or px?
Percentages scale with the element, so a 50% radius is always a perfect ellipse whatever the size. Pixels keep a fixed curve, which is what you want for cards and buttons. A very large pixel value such as 999px makes a pill.
Why does my circle look like an oval?
border-radius: 50% follows the box. If the element is not square the result is an ellipse — set an equal width and height, or use aspect-ratio: 1.