Border Radius Generator

Border Radius Generator

Adjust each corner independently or all at once, preview the shape live, and copy the CSS.

Ready.

What the Border Radius Generator Does

There are a few things that can make a design look soft without much hassle, and rounded corners are definitely among them. However, typing the border-radius values manually can become a trial-and-error process: change a value, refresh the browser, try again, and so on. The Border Radius Generator on Tool Flora eliminates the guesswork — you see a live preview and adjust each corner with its own slider.

How to Use the Border Radius Generator

Generating the shape requires only a few seconds:

No registration, no software to download, everything is done inside the browser.

What Is border-radius?

Border-radius is the CSS property that allows rounding the corners of the element’s box. Rather than having sharp 90-degree angles, this property makes it possible to control the curvature of each corner and set its radius in pixels, percent or any other unit of CSS measurement. It is also possible to set one value for equal rounding of all four corners and separate values for each of the corners using border-top-left-radius, border-top-right-radius, border-bottom-right-radius, and border-bottom-left-radius.

When You’d Use This

Border-radius appears everywhere in daily web design practices:

If you develop a design system or improve the landing page, this feature can help you determine how your final product will look without coding one CSS line.

Do’s and Don’ts

Do:

  1. Use consistent radius values in comparable elements (buttons, cards, etc).
  2. Use percentage values in your own CSS when the rounding should depend on the element’s size.
  3. Check whether your rounded element looks good in various sizes.

Don’t:

  1. Push huge radius values onto tiny elements — you may end up with cramped text or icons.
  2. Forget that overflow: hidden may be necessary when rounding an element that contains an image or a background color.
  3. Mix a variety of radius values around the page arbitrarily; it may result in a visually inconsistent design.

Good to Know

  1. A border-radius value greater than half the size of the element will be automatically limited, so don’t hesitate to specify very large radius values to force circle or pill shape.
  2. You can write two values per corner in raw CSS (a horizontal and a vertical radius) for elliptical corners, but the Tool Flora generator sticks to the single-value form most designers need.
  3. Border-radius property is supported by all major browsers, thus you don’t need any vendor prefixes here.

FAQ

Does border-radius apply to background images?

Yes. As long as overflow: hidden is used (or the image is a background one), the border-radius will clip the image cleanly.

Can I create a button with an oval or pill shape?

Yes. Just use a very large value (for instance 999px) in relation to the height of your button, and you’ll get a completely round pill shape.

Does it matter whether pixels or percentages are used?

Pixel values give a predictable curve no matter the element size, while percentages scale with the size of the element itself.

Does it work on mobile devices?

Yes. The generator is fully responsive and works in any modern browser on either a mobile or desktop device.

Related Tools

Color Picker
Color Picker

Pick colors and copy HEX, RGB, or HSL values.

  • 100% Free
  • Customizable
  • Download
  • Unlimited
Gradient Generator
Gradient Generator

Build CSS gradients with live preview.

  • 100% Free
  • Customizable
  • Download
  • Unlimited
Box Shadow Generator
Box Shadow Generator

Design layered box shadows visually.

  • 100% Free
  • Customizable
  • Download
  • Unlimited
Contrast Checker
Contrast Checker

Check WCAG contrast between two colors.

  • 100% Free
  • Customizable
  • Download
  • Unlimited