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

Example
div {border-top-color: #ff0000}
Characteristics
Possible values
- color
- Color name or value.
transparent- This keyword is used to indicate that no background color should be used for the given element, in order to allow the underlying colors to shine through.
inherit- Use the same computed value as the parent element for this property.
Default value
Depends on Web browser
Applies to
All elements
Inherited
No
See also