Style borderRightWidth Property
Style borderRightWidth Property
The borderRightWidth property is used to either set or return the width of the right border of an element.
Syntax:-
Its syntax is:- object.style.borderRightWidth OR object.style.borderRightWidth = thin|medium|thick|length|initial|inherit
Return:-
Its return is:- string having width of an element right border
Further Explanation:-
Value | Description |
---|---|
thin | Defines thin border. |
medium | Defines medium border. |
thick | Defines thick border. |
length | The width of the border in length units. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |