A card with the same radius on every corner is one number. A card that should feel slightly different on the bottom, or a tab that is round only on top, needs four. This page writes them in CSS order: top left, top right, bottom right, bottom left. The opening values are 8 pixels on every corner, and the declaration is border-radius: 8px 8px 8px 8px;
Pixels here are absolute. A 48px radius on a button that is only 32px tall becomes a pill, because the used radius is limited by the box. A 48px radius on a large card is a gentle corner. The blob page is the other border-radius tool: percentages on two axes, with a slash, for an organic shape. Do not use that shorthand when you wanted a 12px corner on a dialog.
The preview is the declaration. Your element still needs a background or a border or you will not see the curve.
Top left 8, top right 8, bottom right 8, bottom left 8.
border-radius: 8px 8px 8px 8px;
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
Top left, top right, bottom right, bottom left. Same as the CSS shorthand when you write all four.
Set the radius to at least half the element's height. On a 40px button, 20px or more on every corner does it. The element height is what finishes the look, not the number alone.
When you want an uneven organic shape from percentages, including the slash between horizontal and vertical radii. This page is ordinary pixel corners.
Yes. Zero is a square corner. Negative numbers are rejected.
A transparent element with no border shows nothing. Add a background color or a border to the same rule.