CSS property: border-left
The border-left property is a shorthand property used to set any or all of the color, style, and width properties for the left border. Properties can be listed in any order.
Property values
Value |
Description |
|---|---|
[ border-left-color | border-left-style | border-left-width ] |
This value is a whitespace-separated list of values for the border-left-color, border-left-style, and border-left-width properties. You can set from one to three values. Properties can be listed in any order. See the descriptions of the individual properties for more information about valid values. |
inherit |
This value specifies that the element inherits the border-left property of the containing element. |
Parent topic: CSS Properties