How to create rounded corners?
The border-radius property is used to give any element rounded corners. This property defines the radius of an element’s edge.
- top-left corner, top-right corner, bottom-right corner, and bottom-left corner (Use of four values)
- top-left corner, top-right, and bottom-left corners, and bottom-right corner (Use of three values)
- top-left and bottom-right corners, and top-right and bottom-left corners (Use of two values)
- The value applies for all four corners equally