What is border-radius in CSS?
Border-radius rounds the corners of elements. Set border-radius: 10px and you get 10px curves on all four corners. Works on anything—divs, images, buttons, inputs. The property creates an invisible curve that clips the element.
You'll see it everywhere in modern design. Cards with subtle rounding, pill-shaped buttons, circular avatars, rounded modals. Small radiuses (4-8px) look polished. Larger ones (16-24px) feel friendly and approachable.