Border Radius
The border-radius property rounds the corners of an element's border box. It can create anything from subtle rounded cards to perfect circles and pill shapes.
Shorthand Values
Like margin and padding, the shorthand follows the top-right-bottom-left order. One value sets all four corners equally. Two values set top-left/bottom-right and top-right/bottom-left.
Elliptical Corners
A slash (/) separates horizontal and vertical radii, creating elliptical corners: border-radius: 50% / 25%.
Individual Corner Longhands
border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius.