CSS border-left-color

The CSS border-left-color property allows you to set the color of an element's left border.

Note: You will also need to specify border-left-style and border-left-width before your border-left-color is displayed.

Syntax: border-left-color: <value>
Possible Values:
  • <color>
  • transparent
  • inherit
Initial Value: Uses the 'color' property
Applies to: All elements.
Inherited: Yes
Media: Visual
Example: div.left-color {border-left-color:#ff9900}
Try it yourself!