Border Radius Generator
Round each corner, switch to elliptical radii and drag edge handles to sculpt blob shapes. Copy border-radius CSS or Tailwind.
Live preview
Switch to % to sculpt the shape with edge handles.
border-radius: 24px;
Everything stays in your browser.
How to use
- Pick a preset or keep Linked on to round all corners together.
- Turn off Linked to set each corner, or turn on Elliptical for separate horizontal and vertical radii. In % mode, drag the four edge handles to sculpt a blob.
- Resize the preview box to test the shape, then copy CSS or the Tailwind class.
Example
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
Details and limitations
Values before the slash are horizontal radii and values after it are vertical radii, both clockwise from the top-left corner. The export uses the shortest equivalent form.
Percentages are relative to the box: horizontal radii to its width and vertical radii to its height. Switching units converts values using the preview size.
Each edge handle splits one edge between its two corners so their radii add up to 100%. Arrow keys move a focused handle by 1%; Shift moves it by 10%.
When the radii on one side add up to more than its length, browsers scale every radius down by the same factor, so very large values produce a pill or an ellipse.
FAQ
How do I make a circle?
Use border-radius: 50% on an element with equal width and height. On a rectangle, 50% gives an ellipse, while a large pixel value gives a pill with straight sides.
What does the slash in border-radius mean?
It separates horizontal radii from vertical radii, so each corner can be a quarter ellipse instead of a quarter circle. Organic blob shapes use this form.
Related tools
Format references
Tool page updated: