border-top
Definition
The border-top property is a shorthand method for setting border-top-width, border-top-style and border-top-color values. The top border is represented by the yellow highlighted area in the illustration below.

Example
h1 {border-top: thick solid red}
This is equivalent to:
h1 {border-top-width: thick;border-top-style: solid;border-top-color: red;}
Characteristics
Possible values
Default value
See individual properties
Applies to
All elements
Inherited
No
See also