How to Generate CSS Border Radius

Create CSS border-radius values visually. Adjust each corner independently, preview live, and copy production-ready CSS. Free border radius generator.

Open Border Radius Generator →

Step-by-Step Guide

1

Set the overall radius

Use the main slider to set a uniform border-radius for all four corners. The preview box updates instantly so you can see exactly how rounded your element will look at any value.

2

Customize each corner

Toggle individual corner controls to set different values for top-left, top-right, bottom-right, and bottom-left. This lets you create asymmetric shapes like tabs, speech bubbles, or organic blob effects.

3

Fine-tune with units

Switch between px and % units. Percentage-based radius (like 50%) scales with the element size — perfect for creating circles and ellipses. Pixel values give you precise control for fixed-size elements.

4

Copy the CSS

Click "Copy CSS" to grab the border-radius property. The tool outputs the shortest valid syntax — a single value for uniform corners, or the full four-value shorthand for asymmetric shapes.

Try It Now — Free

No signup, no download. Runs entirely in your browser.

Open Border Radius Generator

Frequently Asked Questions

How do I make a perfect circle with CSS?
Set border-radius to 50% on a square element (equal width and height). This rounds all four corners equally, creating a perfect circle. For non-square elements, 50% creates an ellipse instead.
What is the difference between px and % for border-radius?
Pixel values give a fixed curve size regardless of element dimensions. Percentage values scale relative to the element — 50% always creates a circle on a square. Use px for consistent corners across different-sized elements, % for proportional rounding.
Can I animate border-radius?
Yes. border-radius is animatable with CSS transitions and keyframe animations. You can smoothly morph shapes — for example, transitioning from a square (0px) to a circle (50%) on hover for a satisfying visual effect.
Related Reference

CSS Flexbox Cheat Sheet

View Cheat Sheet →

More Guides