border-top-width Description:
The border-top-width property defines the width of the top border of the element.
border-top-width in CSS Versions:
border-top-width Syntax:
border-top-width: thin | medium | thick | <length> | inherit
- thin, medium, or thick
The length of these keywords is user-agent dependent, but thin <= medium <= thick. - length
A specific length (include unit of measure). - inherit
The element should have the same border-top-width setting as the parent.
border-top-width Initial Value:
medium
border-top-width Applies To:
All elements.
border-top-width Inheritance:
This property is not inherited.
border-top-width Browser Support:
border-top-width Examples:
standard border-top-width
<p style="border-top-width : 2em;">
This paragraph has a 2 em top border.
</p>
border-top-width Special Notes:
- Negative values are permitted.
- If you don't set the border-style, the border will not display.

