CSS Border Radius Generator

Pick how round each corner of a box should be, and get the CSS code for it.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the CSS Border Radius Generator

  1. Type the size of each corner in pixels.
  2. Use 0 for a square corner.
  3. Copy the CSS code.

Frequently asked questions

What does border radius do?

It rounds the corners of a box on a web page. The bigger the number, the rounder the corner.

What is the order of the four numbers?

CSS starts at the top left and goes clockwise: top left, top right, bottom right, then bottom left.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.