CSS Border Radius Generator
Round element corners visually and copy the CSS border-radius. Tune each corner with a live preview. Runs client-side.
border-radius: 24px;Drag the sliders to shape each corner, then copy the ready-to-paste CSS. Everything renders in your browser.
Round the corners of any element visually and copy the exact CSS. Adjust all four corners together or independently, switch between pixels and percentages, and watch the live preview update instantly. Everything runs in your browser.
How to use it
No account, no upload — it all happens on your device.
Understanding the shorthand
How one line controls four corners.
border-radius accepts one to four values. One value rounds every corner the same. Four values follow a clockwise order starting at the top-left: border-radius: 10px 20px 30px 40px; sets top-left, top-right, bottom-right, then bottom-left. This tool collapses to a single value automatically when all corners match.
Handy recipes
- Circle: a square element with
border-radius: 50%. - Pill button: a wide element with a large pixel radius like
999px. - Card: a gentle
8px–16pxon all corners.