CSS Border Radius Generator

Round each corner of an element and copy the border-radius CSS.

Runs instantly in your browser — results update as you type.

What does border-radius do?

The CSS border-radius property rounds the corners of an element. One value rounds all corners equally; four values set top-left, top-right, bottom-right and bottom-left separately.

How to use the CSS Border Radius Generator

    Frequently asked questions

    How do I make a circle?

    Give a square element border-radius: 50%.

    px or %?

    px keeps corners the same on any size; % scales with the element, which is useful for circles and ellipses.

    Does border-radius clip images inside?

    Add overflow: hidden to the element so its content follows the rounded corners.