Style borderLeftWidth Property
Style borderLeftWidth Property
The borderLeftWidth property is used to either set or return the width of the left border of an element.
Syntax:-
Its syntax is:- object.style.borderLeftWidth OR object.style.borderLeftWidth = thin|medium|thick|length|initial|inherit
Return:-
Its return is:- string having width of an element left 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. |