Menu
This property defines the width of the left border of the element.
This property accepts one of the keyword values: thin
, medium
or thick
. Other than these, it can also accept any length value.
/* Setting the left border to be thick */
border-left-width: thick;
/* Setting a length value: */
border-left-width: 4px;
border-left-width: 0.5em;
border-width
Same values apply as with the border-width
property. It can be thin
, medium
or thick
as a keyword value or any type of length value (example: 15px
or 1.3rem
).
initial
Global CSS keyword – this sets the property to the default value.
inherit
Global CSS keyword – this sets the property to be inherited from its parent element.
Have a code example of border-left-width
? Submit a codepen.io demo and we'll showcase it here ↴