CSS border Property

The css border property is a shorthand property that defines the different properties of all four sides of an element’s border in a single declaration. It can be used to set border-width, border-style and border-color, or a subset of these.

Syntax for border property

[ border-width || border-style || 'border-top-color' ] | inherit