How to use the border radius generator
- Move the slider, or unlink to set each corner.
- Choose px or percent.
- Copy the CSS.
Nested corners
For a rounded element inside another, use an inner radius of the outer radius minus the gap between them, so the curves stay parallel.
Frequently asked questions
How do I make a circle?
Give a square element a border radius of 50%.
How do I make a pill shape?
Use a very large px value such as 999px.
Are elliptical corners supported?
CSS supports them with a slash syntax; this tool makes circular values.