piko

CSS Border Radius Generator

Adjust each corner of a shape and copy the CSS border-radius declaration.

Runs on your device. Nothing you add is uploaded.

CSS
border-radius: 24px 24px 8px 8px;

How to use CSS Border Radius Generator

  1. Choose pixels or percent.
  2. Adjust the four corners while watching the preview.
  3. Copy the CSS declaration into your stylesheet.

Questions

What order are the corner values in?
CSS lists them clockwise from the top left, followed by top right, bottom right, and bottom left.
How do I make a circle?
Use 50% on all four corners of a square. On a rectangle, 50% produces an ellipse.

How this works

Builds the four-corner CSS shorthand and lets the browser render the shape.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy