border-top-color CSS Property
border-top-color property is use to set the top border color, you must declare border-style property before this property. you can also use shortcut property of border-top to apply certain color value.
Definition Of border-top-color property:
The border-top-color is a property of CSS that set the color for the top edge of the border of html elements.
What border-top-color property can do?
This border-top-color property can easily add different colors to top side border of element, border property must be set before applying this property to work fine.
How to use CSS border-top-color property?
Syntax:
1
border-top-color: colo
Example:
1
border-top-color:red;
How to use CSS border-top-color property in Javascript?
You can set value of border-top-color property with Javascript in following manner:
1
object.style.borderTopColor="gray"
Related posts
Tags: border-top-color, border-top-color property, css border top color

No Response
Post your response