border left color

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

CSS border-left-color Property

Example

Set the color of the left border:

{
    border-style: solid;
    border-left-color: #ff0000

}

Definition and Usage

The border-left-color property sets the color of an element's left border.

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

CSS Syntax

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

Property Values

Value Description  
color Specifies the color of the left border. Look at CSS Color Values for a complete list of possible color values. Default color is the color of the element  
transparent Specifies that the border color should be transparent