CSS border-left-color Property


The border-left-color property sets the color of an element's left border.The border-left-color Property is used to set the color of the left-border in an Element. It is mandatory to declare the border-style or the border-left-style property before the border-left-color property.

Note: Always declare the border-style or the border-left-style property before the border-left-color property. An element must have a border before you can change the color.

CSS Syntax

border-left-color: color|transparent|initial|inherit;

Example -