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