CSS Border Radius Generator
Visually craft CSS border-radius — control all four corners individually or together. See a live preview.
Features
How to Use
1. Drag the radius slider — the neutral card on the stage previews the corners at real size.
2. Switch to "Per corner" to shape each corner independently.
3. Copy the CSS — it uses the shortest valid form.
About this tool
Rounded corners are one line of CSS, but getting the value right is easier when you can see it. This generator previews border-radius on a neutral card at real size while you drag a single slider or shape each corner separately. It then writes the shortest valid declaration: one value when all corners match, and two, three or four values when they differ, in the order top-left, top-right, bottom-right, bottom-left. Small radii of 4–8px suit buttons and inputs, 12–24px feel friendly on cards, and very large values turn short elements into pills. Switch the stage background to see how the shape reads on light and dark surfaces before copying the CSS into your stylesheet.