CSS Border Radius Generator

Adjust four independent CSS corner radii and preview the result.

Options

Processed on your device

How to use CSS Border Radius Generator

Write a border-radius declaration for four independently sized corners. Useful for building cards, notices or asymmetric shapes without remembering the shorthand order.

  1. Set the top-left, top-right, bottom-right and bottom-left pixel radii.
  2. Generate and copy the CSS into the matching rule.

Example use

Round just the top corners of an interface panel that joins another component directly below it.

Output and compatibility

The generator returns pixel radii. Browser geometry can proportionally limit extreme radii inside a small box. Media queries and percentage or elliptical radii need further stylesheet edits.

Troubleshooting

If the preview differs from the real card, verify the box size and whether the image or child content needs overflow clipping.

Use CSS Box Shadow Generator after choosing the final corner shape.

Frequently asked questions

Can I make just one corner rounded?

Set that radius and leave the other three at zero.

Does it change image pixels?

It creates CSS. Use Round Image Corners for a PNG with transparent cutouts.

Find a tool