CSS Border Radius Generator

All tools

Options

Status
Idle

Live preview

What is CSS Border Radius Generator?

This tool helps you generate CSS border-radius values for rounded corners.

It is useful for buttons, cards, inputs, modals, avatars, and modern UI components.

How to use CSS Border Radius Generator

  1. Adjust the corner radius values using the inputs or sliders.
  2. Keep all corners linked or edit each corner separately.
  3. Copy the generated border-radius value or full CSS rule.
  4. Paste an existing border-radius value to parse and edit it.

Tips

  • Use one value for evenly rounded corners.
  • Use four values for more organic or asymmetric shapes.
  • Rounded corners often pair well with box shadows and gradients.
  • Large border-radius values are useful for pills and capsules.

Border radius checks before applying rounded geometry

Corner radii are constrained by element dimensions and interact with borders, overflow, images, focus indicators, and nested surfaces.

Test changing dimensions

Check short, tall, narrow, fluid, and content-driven elements because percentage and large radii resolve differently as the box changes.

Review elliptical corners

Verify horizontal and vertical radii, slash syntax, asymmetric corners, and browser normalization when combined values exceed the box.

Coordinate nested surfaces

Align parent and child radii with padding and border width so backgrounds, images, cards, and inner panels do not leave uneven gaps.

Preserve focus visibility

Test outlines, shadows, overflow clipping, forced colors, and interactive states around rounded controls and containers.

Related tools

You may also find these tools useful.

CSS Border Radius FAQ

Can I edit all four corners separately?
Yes. Disable linked corners and set each corner individually.
Can this tool parse existing border-radius CSS?
Yes. Paste a border-radius value or a full border-radius CSS declaration.
Does it support px and percent values?
Yes. You can use values like 16px or 50%.
Is the preview live?
Yes. The preview updates as you change the values.