CSS Border Radius Generator: Rounded Corners and Blob Shapes

Round each corner on its own, in px or percent, and copy the CSS.

Loading tool…

How to use the CSS Border Radius Generator

  1. Start from a preset (Rounded, Pill, Leaf, Blob, Tab) or leave Link all corners on to round every corner equally.
  2. Turn linking off to set each corner, and drag the horizontal and vertical sliders while watching the preview.
  3. Switch between px and % depending on whether the box size varies.
  4. Click Copy CSS.

About this tool

The border-radius property rounds an element's corners. One value rounds all four corners. Four values go in order top left, top right, bottom right, bottom left. Each corner can also be an ellipse by giving a horizontal radius before a slash and a vertical radius after it, such as 30% 70% 70% 30% / 30% 30% 70% 70%, which is how organic blob shapes are made.

Pixel radii stay the same size as the box changes. Percent radii are relative to the box, so 50% on a square gives a circle and 50% on a rectangle gives an oval. For pills and buttons, a large pixel value such as 999px is the usual trick, as the browser clamps it to half the shorter side.

If the sum of two radii along one edge is larger than the edge, browsers scale all radii down proportionally, so a preview box of a different size from yours can look slightly different.

Frequently asked questions

How do I make a circle with CSS?

Give an element equal width and height and set border-radius: 50%.

What does the slash in border-radius mean?

Values before the slash are horizontal radii and values after are vertical radii, so each corner becomes an ellipse.

Should I use px or %?

Use px for a consistent corner on boxes of any size. Use % when you want the shape to scale with the box, for circles and blobs.

In which order are the four values?

Top left, top right, bottom right, bottom left, clockwise from the top left.

Need a custom tool or website?

IDM Valley builds web apps, calculators, AI chatbots and automation for businesses. Fixed prices, code in your name.

Get a free quote

Have a project in mind?

Tell us what you need: a website, landing page, AI chatbot or automation. You get a clear scope and a fixed price within one working day. Free, no obligation.


  • avshack
  • DivineBamboo
  • goldleaf
  • janapril
  • kaizen
  • kwc
  • modv
  • pixelrush
  • revital
  • riderzplanet
  • sandsfashions
  • avshack
  • DivineBamboo
  • goldleaf
  • janapril
  • kaizen
  • kwc
  • modv
  • pixelrush
  • revital
  • riderzplanet
  • sandsfashions