CSS TOOLS · BFOTKIT

CSS Border Radius Generator | BFOTKit

Set each corner independently or lock them together, preview the shape live, and copy clean border-radius CSS, including elliptical corner syntax.

Preview

Elliptical mode writes the horizontal / vertical syntax for squashed or stretched corners.

CSS

Everything is computed and rendered locally in this browser tab. Nothing is sent to a server.

GUIDE

How to shape corners

Start with linked corners

By default all four corners share one value, which is what most cards and buttons need. Unlink them when you want an asymmetric shape, like a card with one rounded corner and three square ones.

Use elliptical corners for personality

CSS lets each corner have a horizontal and a vertical radius. Equal values give circular corners; different values squash them into leaf and petal shapes. The generator writes the four-value slash syntax for you.

Large radii are not errors

Values larger than half the element are clamped by the browser automatically, so a 999px radius on a 40px button is valid and produces a pill shape.

HELP / FAQ

Border radius questions

What is the four-value order?

Clockwise from the top-left corner: top-left, top-right, bottom-right, bottom-left. The generator writes values in that order, so the preview and the CSS always agree.

Can radii be percentages?

Yes. Switch the unit to percent and values become relative to the element size, which is useful for responsive shapes like circles or squircles that adapt to width.

Why do adjacent rounded corners overlap weirdly?

When two adjacent radii sum to more than the edge length, browsers scale both down proportionally to fit, which usually looks intentional. If the result surprises you, reduce one of the values.

Does border-radius clip children?

Not by itself. Add overflow: hidden to the same element, or apply the radius to the child, when you need images or backgrounds to follow the rounded shape.

EXPLORE BY CATEGORY · BFOTKIT

More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

Browse all tools