Border Radius Generator

Design custom rounded corners intuitively and copy the CSS or Tailwind instantly

Safe conversion with no data sent to server

Top Left12px
Top Right12px
Bottom Right12px
Bottom Left12px

CSS Output

border-radius: 12px;

Tailwind CSS

rounded-xl

Presets

CSS Border Radius Explained

The border-radius property allows web developers to add rounded corners to HTML elements. You can apply the same radius to all four corners or target each independently (top-left, top-right, bottom-right, bottom-left) to create engaging shapes.

How to Make a Perfect Circle in CSS

To make a square element into a perfect circle, you must use percentage units instead of pixels. Setting border-radius: 50%tells the browser to curve the corners exactly halfway along each edge.

Responsive Rounded Corners

While using px guarantees the exact curve regardless of the element's size, using % creates dynamic, scalable curves that shift based on the container size. Highly recommended for responsive imagery!