About the CSS Border Radius Generator
The CSS Border Radius Generator lets you round each corner separately (0–100 px) and outputs the shortest correct border-radius declaration, using one value when all corners match and two when opposite corners match.
How to use the CSS Border Radius Generator
- Move the slider for each corner.
- Copy the generated CSS.
Example
Speech bubble corner
Setting three corners to 20px and bottom-left to 0 gives border-radius: 20px 20px 20px 0px;, a common chat-bubble shape.
Frequently asked questions
In which order are the four values?
Top-left, top-right, bottom-right, bottom-left: clockwise from the top-left.
How do I make a circle?
Use border-radius: 50% on an element with equal width and height.
What does a radius larger than the box do?
Browsers scale it down so curves still fit.