Border Radius Generator

Round each corner and copy the border-radius CSS.


  

border-radius shorthand

border-radius: top-left top-right bottom-right bottom-left; Values in % are relative to the element's size, so 50% on all corners makes a circle or ellipse. Large unequal values create organic blob shapes.

Frequently asked questions

How do I make a circle with CSS?

Give a square element border-radius: 50%.

How do I make a pill-shaped button?

Use a very large px value such as border-radius: 999px; it is limited to half the element's height automatically.