Free to use, no account

CSS Border Radius Generator

Create a CSS border-radius declaration with four independent corners, elliptical horizontal and vertical values, or one linked radius. Preview it as you edit.

Horizontal radii

Vertical radii

Values may overlap. CSS browsers proportionally normalize corner radii when needed; the generated values are not silently changed.

The preview is 320 × 180 px. Percent values are relative to the element’s width and height.

Live preview

How do I create elliptical border-radius CSS?

Choose pixels or percent, enter four horizontal and four vertical corner values, and copy the generated declaration. Matching horizontal and vertical values use the shorter CSS shorthand.

Frequently asked questions

How do I create elliptical border-radius CSS?

Choose pixels or percent, enter four horizontal and four vertical corner values, and copy the generated declaration. Matching horizontal and vertical values use the shorter CSS shorthand.

Is my CSS uploaded?

No. The preview and CSS are created in this browser. Nothing is uploaded or saved by the tool.

Can each corner have a different radius?

Yes. Set each horizontal corner separately, and add separate vertical values for elliptical corners.

Why does the browser change overlapping corner radii?

CSS proportionally reduces overlapping radii to fit the element. This tool keeps your requested CSS values and explains that browser behavior instead of hiding it.

What do percentage border-radius values use as a reference?

Horizontal percentages are relative to the element’s width, while vertical percentages are relative to its height.