SMALL DETAIL. BIG DIFFERENCE.

A good shape starts at the edges.

Fine-tune four corners, explore organic shapes, and copy clean CSS. Free, immediate, and entirely in your browser.

Start with a shape

Shape controls

Top left

Horizontal

Top right

Horizontal

Bottom right

Horizontal

Bottom left

Horizontal

Live preview

CSS BORDER-RADIUS

Understand the curve.

Border-radius rounds the outside corners of an element. Use a subtle curve for a card, a generous curve for a pill, or unequal values for a more expressive shape.

Choose a preset or adjust the four corners. Unlink the controls to set each corner separately.
Choose px for a fixed radius or % for a radius relative to the element. Enable elliptical corners to control both axes.
Copy the declaration into your stylesheet and test it at the actual size of your button, card, or image.
What is the order of the four values?

Clockwise: top left, top right, bottom right, bottom left. The CSS output always includes all four so you can see exactly which corner changes.

What does the slash mean?

Values before the slash set the horizontal radii. Values after it set the vertical radii. For example, 50% / 25% makes elliptical corners. This tool shows both axes when you enable elliptical corners.

Why does a large radius look smaller than expected?

The browser proportionally reduces overlapping radii so adjacent corners fit the box. A radius of 200px on a small card may therefore render differently from a 200px curve on a large card.

How do I make a circle or a pill?

Use 50% on an element with equal width and height for a circle. For a pill, use a very large pixel radius such as 999px on a rectangular button. Always check the final element dimensions.

Why does my image extend past the curve?

A parent with rounded corners does not always clip its children. Add overflow: hidden when you want inner images or backgrounds clipped. Check that this does not hide focus outlines or popovers.

Are my designs uploaded?

No. The radius calculations and preview run in your browser. This tool does not upload your settings and has no account or design storage.

CSS reference · MDN