CSS Border Radius Generator

Round each corner separately and copy the CSS.

Loading tool...

How to use CSS Border Radius Generator

  1. Adjust the radius of each corner.
  2. Check the preview.
  3. Copy the border-radius CSS.

About this tool

The border-radius shorthand takes four values in clockwise order starting at the top left: top left, top right, bottom right, bottom left. Equal values collapse to a single number. A radius of 50% on a square makes a circle, and a very large radius on a rectangle makes a pill.

Percentages are relative to the size of the box.

Frequently Asked Questions

How do I make a circle?
Use a square element with border-radius: 50%.
In what order are the corners listed?
Top left, top right, bottom right, bottom left.

Related tools