Three properties work together to make borders: border-style, border-color, and border-width. In addition, each side of an element can also have a different border style. These are indicated by the following properties:
border-top
border-right
border-bottom
border-left
Learn how to use these CSS properties to add a border to an element by following the steps below.