How to use the border radius generator
- Use one slider for all corners, or untick it to set each corner.
- Watch the preview.
- Copy the border-radius line.
The shorthand order
With four values, border-radius goes clockwise from the top left: top-left, top-right, bottom-right, bottom-left. When all corners match, the tool writes a single value.
Examples
border-radius: 24px;
border-radius: 40px 8px 40px 8px;