Skip to content

CSS Border Radius Generator

Set a radius for each corner and copy the shortest equivalent border-radius declaration.

Input

Loading tool…

Result

Local processing

Your result will appear here.

How to use it

Enter the four radii in clockwise order starting at the top left, then choose pixels or percent. Copy the resulting declaration into your stylesheet.

Worked example

Radii of 16, 24, 16, and 24 px use the shorthand border-radius: 16px 24px;

Browse design