🛠️ Utilifyer ← All Tools
Home › Color & Design › CSS Border Radius Generator
Ad Unit — Top

CSS Border Radius Generator

Create custom border-radius shapes visually with live preview.

24px

Presets

Preview

CSS Code

 

Frequently Asked Questions

How does border-radius shorthand work?▼

border-radius with 4 values sets: top-left, top-right, bottom-right, bottom-left (clockwise from top-left). With 3 values: top-left, top-right & bottom-left, bottom-right. With 2 values: top-left & bottom-right, top-right & bottom-left. With 1 value: all corners.

How do I create a circle?▼

Set border-radius: 50% on an element with equal width and height. The percentage is relative to the element's dimensions. border-radius: 50% on a 100px×100px div creates a perfect circle.

Can I use different horizontal and vertical radii?▼

Yes — the / syntax sets independent horizontal and vertical radii: border-radius: 50px / 25px creates an elliptical corner. The full form is: border-radius: horizontal-tl horizontal-tr horizontal-br horizontal-bl / vertical-tl vertical-tr vertical-br vertical-bl.

What is border-radius in em vs px?▼

px values are absolute and don't scale with font size. em values are relative to the element's font-size — useful for components that should scale proportionally. rem is relative to the root font size. % is relative to the border-box dimensions.

Ad Unit — Middle

Related Tools