🐝

Bee Hive

Border Radius Generator

Create custom border radius values with live preview.

Preview
border-radius: 20px;

About Border Radius Generator

The Border Radius Generator is a visual CSS tool that helps designers and developers create perfectly rounded corners for web elements. Border radius is essential for modern web design – it softens harsh edges, creates friendly visual appeal, and can transform rectangles into pills, circles, or organic shapes. This generator provides complete control over each corner independently or linked together for uniform rounding. Adjust values using intuitive sliders or enter precise pixel values, while watching the live preview update in real-time. Quick presets offer common configurations: subtle rounding for cards, medium for buttons, large for panels, and maximum for perfect circles and pill shapes. The 'Blob' preset demonstrates asymmetric styling for creative effects. When corners are linked, adjusting any corner updates all four simultaneously – perfect for consistent rounding. Unlink them to create unique shapes like chat bubbles or notification badges. The generated CSS code is displayed with syntax highlighting and can be copied with a single click. All processing happens locally in your browser, making it fast, private, and always available. Whether crafting subtle button rounding or bold organic shapes, this tool makes border-radius design effortless.

Frequently Asked Questions

What is border-radius in CSS?

Border-radius is a CSS property that rounds the corners of elements. Higher values create more rounded corners, and maximum values can create circles or pills.

How do I make a perfect circle?

Set all four corners to 50% (or 50px on a 100px square). The element must have equal width and height to appear as a true circle.

What's the difference between px and %?

Pixels give fixed rounding regardless of element size. Percentages scale with the element – 50% always creates maximum rounding relative to dimensions.

Why use different values for each corner?

Asymmetric corners create unique shapes: chat bubbles, tabs, buttons with accent corners, or organic blob effects for creative designs.

What's the linked/unlinked mode?

Linked mode adjusts all corners together for uniform rounding. Unlinked mode lets you set each corner independently for custom shapes.

Can I use this for images?

Absolutely! Apply border-radius to images to create rounded photos, circular avatars, or shaped image frames. Combine with object-fit for best results.

What does the shorthand syntax mean?

Single value (border-radius: 10px) applies to all corners. Four values go clockwise: top-left, top-right, bottom-right, bottom-left.

How do I create a pill shape?

Use 100px or more (any value larger than half the element's shorter side). This creates fully rounded ends, perfect for buttons and tags.

Does border-radius work with borders?

Yes! When you have a border, the border-radius curves along with it. The inner radius is calculated automatically based on border width.

Is border-radius well-supported?

Yes. Border-radius has excellent browser support across all modern browsers with no prefixes needed.