CSS3 has the property that allows elements to be created with nice-looking rounded corners. This can easily be applied to all four sides or as per requirement.
The property has four attributes for four corners: