Border-top-width

The   property is used in CSS and certain HTML elements. This property controls the thickness (width) of the top side of the border of an element's rendering box. Negative values are not allowed. To specify the border width for all sides, use. To specify the width for the other three sides, use,  , and.

Values

 * - Explicitly sets the value of this property to that of the parent.
 * ,,   - Renders a "thin", "medium" or "thick" border on the top side of the element's rendering box. The actual thickness of these border values is not specified, but "thin" should have a smaller thickness than "medium", which should have a smaller thickness than "thick".
 * - Sets the width of the border on the top side of the element's rendering box to an explicit measurement. Examples of lengths are,  , etc.

HTML example:

 H1 content.

CSS example:

h1 { border-top-width:thin; }