Style borderLeftColor Property
Style borderLeftColor Property
The borderLeftColor property is used to either set or return the color of the left border of an element.
Syntax:-
Its syntax is:- object.style.borderLeftColor OR object.style.borderLeftColor = color|transparent|initial|inherit
Return:-
Its return is:- string having color of an element left border
Further Explanation:-
Value | Description |
---|---|
color | Specifies the color of the left border. |
transparent | The color of the left border is transparent. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |