Skip to content

CSS Border Radius Generator

Generate CSS border-radius visually with live preview. Adjust each corner individually or link them. Supports px, %, and rem units. Copy the CSS code. Free online tool.

Preview

12px
12px
12px
12px
Unit

CSS Output

 

What is CSS border-radius?

The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.

border-radius syntax

The shorthand border-radius accepts 1 to 4 values. With 1 value, all corners are equal. With 2, the first sets top-left/bottom-right and the second sets top-right/bottom-left. With 4 values, each corner is set individually: top-left, top-right, bottom-right, bottom-left.

Elliptical corners

Using the / syntax (e.g., border-radius: 50% / 30%), you can define different horizontal and vertical radii for elliptical corners.

Privacy

All border-radius generation runs 100% in your browser. No data is sent to any server.