How border radius generator works
The CSS border-radius property rounds the corners of an element. A single value like border-radius: 8px rounds all four corners equally; four values set them individually in the order top-left, top-right, bottom-right, bottom-left (a clockwise sweep starting at the top-left).
Units matter. Pixels (px) and em/rem give a fixed roundness, while percentages (%) are relative to the element's size: border-radius: 50% on a square element makes a perfect circle, and 50% on a wide rectangle makes a pill. This generator uses one shared unit across all corners.
Set the four corner values and pick a unit. The preview updates instantly with the generated border-radius applied, and the output is a ready-to-paste CSS declaration. When all four corners match, the shorthand collapses to a single value for tidier code.