border-top-width
Definition
The border-top-width property specifies the width of the element's top border. The top border is represented by the yellow highlighted area in the illustration below.

Example
h1 {border-top-width: 1px}div.content {border-top-width: thick}
Characteristics
Possible values
The width of the border area can be specified as one of the following values:
thin- A fine border.
medium- A medium thickness border.
thick- A thick border.
- length
- The border's thickness has an explicit value. Explicit border widths cannot be negative.
inherit- Use the same computed value as the parent element for this property.
Default value
medium
Applies to
All elements
Inherited
No
See also