🔄 Border Radius Generator

Create perfect rounded corners – uniform or individual control, live preview & CSS code

Version 1.0.0 – Updated April 2025
?
When checked, all four corners use the same value. Uncheck to control each corner individually.
?
Units: px (absolute), % (relative to width/height), em/rem (relative to font size). For individual corners, all use the same unit.

👁️ Live Preview

Rounded Corners

📋 CSS Code

border-radius: 20px;

Embed This Tool

Want to embed this border radius generator on your website? Use this code:

<iframe src="https://yoursite.com/border-radius-generator" width="100%" height="600" frameborder="0"></iframe>

📘 Border Radius Examples

⚪ Fully Rounded (Pill)

border-radius: 999px; /* or 50% for square element */

🔵 Slightly Rounded

border-radius: 8px;

🎯 Circle

border-radius: 50%; /* on a square element */

📐 Individual Corners

border-radius: 20px 5px 40px 5px; /* TL, TR, BR, BL */

🧩 Elliptical Corners

border-radius: 50px / 20px; /* horizontal / vertical */

🎲 Asymmetric

border-radius: 30px 10px; /* TL&BR, TR&BL */

📖 Border Radius Tutorials

🔍

Understanding border-radius syntax

One to four values, slash syntax for elliptical corners, and how percentages work.

Read Tutorial →

Pill buttons & circles

How to create perfect capsules and circles with border-radius.

Read Tutorial →
📱

Responsive rounded corners

Using rem, em, or % to scale corners with screen size.

Read Tutorial →

⚖️ Border Radius Generator Comparison

Feature Our Tool Tool A Tool B
Free & unlimited ❌ (limit)
Uniform & individual corners
Multiple units (px, %, em, rem)
Live preview
Elliptical corners (horizontal/vertical) ❌ (planned)
Download CSS file
Client-side / private

❓ Frequently Asked Questions

What's the difference between px and % for border-radius?

px is an absolute value – the corner radius stays the same regardless of element size. % is relative to the element's dimensions: horizontal radius uses width, vertical radius uses height. 50% on a square makes a circle; on a rectangle it creates an ellipse.

How do I make a perfect circle?

Set border-radius: 50%; on a square element (equal width and height).

Can I make elliptical corners?

Yes, use slash syntax: border-radius: 50px / 20px; – horizontal radius 50px, vertical radius 20px. This generator currently supports uniform and individual corners with a single value per corner. Elliptical support is planned.

What does "border-radius: 10px 20px;" mean?

Two values: first applies to top-left and bottom-right, second to top-right and bottom-left. Four values give full individual control.

📝 Version History

Version 1.0.0 – Initial release

April 3, 2025
  • 🚀 Uniform & individual corner radius controls
  • 🎛️ Sliders for each corner (0-100px range)
  • 📏 Unit support: px, %, em, rem
  • 👁️ Live preview on gradient box
  • 📋 Copy CSS & download .css file

Planned – Version 1.1.0

Coming soon
  • ➕ Elliptical corners (horizontal/vertical)
  • 🎨 Background color picker for preview
  • 🔗 Copy individual corner values

🧠 Why use Border Radius?

Rounded corners soften the strict geometry of rectangles, making interfaces feel friendlier and more modern. They are essential for buttons, cards, badges, avatars, and many other UI components.

🎯 Consistency

Use the same radius across similar components for a cohesive look.

📱 Mobile first

Smaller screens often benefit from slightly larger radii (8‑12px).

⚡ Performance

Border-radius is GPU‑accelerated – no performance penalty.

🛠️ Recommended Design Resources

Tools to enhance your UI workflow