Border-top-color

The   property is used in CSS and certain HTML elements. This property controls the color of the top side of the border of an element's rendering box. If no border-color is specified for an element's border, the value of the  property is used instead. To specify the border color for all the sides, use. To specify the border color for the other three sides, use,  , and.

Values

 * - Explicitly sets the value of this property to that of the parent.
 * - The border is transparent (with any accompanying  thickness) - eg: elements below it shine through.
 * - Uses valid color names or color codes as the value.


 * Mozilla Extensions:
 * - This is a Netscape/Mozilla proprietary value which indicates that the current text color (value of the  property) is to be used for the border color. Use of this value is not recommended.

HTML example:

TEXT

CSS example:

h1 { border-top-color:white; }