Corner values
Link corners
One unit applies to all four corners. With % each corner is resolved against that side's own width or height, so opposite corners can look different on a box that is not square.
Live preview
1 value
12px
The blue box uses the shortest valid border-radius shorthand as an inline style, so the preview always matches the copied CSS.
Generated CSS
Shorthand form chosen: 1 value — every corner is the same
/* Border radius generator — generated by InstantTools.site */
.radius-box {
border-radius: 12px;
}
102 characters
How the shortest shorthand is picked
1 value A → all four corners equal 2 values A B → TL & BR = A, TR & BL = B 3 values A B C → top = A, sides = B, bottom = C 4 values TL TR BR BL → no matching pairs
CSS lets you leave out any values that repeat the one to their left, so this tool always emits the shortest form that still describes your four corners — and tells you which form it picked. Switch on the verbose view when you prefer explicit longhands for readability or for animating a single corner.