Skip to content

CSS border-radius generator

Round the corners of your elements, one by one or all together, and copy the CSS.

CSS code
border-radius: {{ borderRadiusValue }};
Curves (8 axes)
Horizontal values
Top-left (X){{ tlX }}%
Top-right (X){{ trX }}%
Bottom-right (X){{ brX }}%
Bottom-left (X){{ blX }}%
Vertical values
Top-left (Y){{ tlY }}%
Top-right (Y){{ trY }}%
Bottom-right (Y){{ brY }}%
Bottom-left (Y){{ blY }}%

The secret of 8-value border-radius

Most web developers use the border-radius property in a very basic way, giving it a single value (e.g.: border-radius: 10px;) or four values, one for each corner (e.g.: border-radius: 10px 20px 30px 40px;).

But CSS lets you go much further. By using a slash (/), you can define a horizontal radius AND an independent vertical radius for each corner. This is what makes it possible to create complex elliptical shapes, often called Blobs.

How do you read the generated syntax?

The generated code looks like this: border-radius: 51% 49% 70% 30% / 30% 36% 64% 70%;

  • Before the slash (/): These are the horizontal values (X axis) for the corners Top-Left, Top-Right, Bottom-Right and Bottom-Left.
  • After the slash (/): These are the vertical values (Y axis) for the same corners in the same order.

Use cases in modern web design

These organic shapes (blobs) are extremely popular in contemporary UI design. They are perfect for:

  • Creating dynamic, less rigid colored backgrounds behind illustrations.
  • Masking profile photos (avatars) with shapes more original than a plain perfect circle.
  • Animating the shape on hover (:hover) to give the button a "breathing" or fluid effect.

More UI design tools:

How it works

How to use the border-radius generator

Round the corners of your elements, one by one or all together, and copy the CSS.

  1. Adjust the corners

    Tweak each corner or link them.

  2. Preview

    The result changes live.

  3. Copy the result

    Copy or download the result in one click.

FreeNo subscription, no hidden limits.
No sign-upOpen the page and use the tool. That’s it.
InstantResults in seconds, on mobile too.
PrivateEverything runs in your browser.

About the border-radius generator

The border-radius property softens buttons, cards and images. With elliptical values, it can even create organic shapes.

border radius generator css border radius rounded corners css css blob generator border-radius css generator organic shapes css css rounded corners generator
FAQ

Frequently asked questions about the border-radius generator

How do I make a circle?

Give the element the same width and height, and set border-radius: 50%.

Why use a slash?

For elliptical radii: horizontal / vertical.

Are images rounded too?

Yes, with overflow: hidden on the container if needed.

Is it compatible with all browsers?

Yes, with all modern browsers.

Esc
↑ ↓ navigateEnter open