Border Radius Generator
Control element corner rounding: one value, each corner separately, or 8 elliptical values for organic shapes like eggs and drops. The code is shortened automatically.
The tool
How to use
- Choose a mode: all corners, each corner, or elliptical (8 values).
- Move the sliders or pick a preset, and resize the box to see the shape at different proportions.
- Copy the CSS (shortened automatically) or the Tailwind class.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
What does the / in the code mean?
Each corner is really an ellipse with a horizontal and a vertical radius. Values before / are horizontal, after it vertical. When they differ you get organic shapes like an egg.
Do “left” and “right” flip on right-to-left pages?
No. border-radius uses the physical screen corners (top-left, top-right…) whatever the page direction. For direction-aware corners use properties like border-start-start-radius.
Why does % look different from px?
Percentages are taken from the element width (horizontal) and height (vertical), so they change with size; px is fixed. 50% on a square gives a circle, on a rectangle an ellipse.