Search within TutorialsPark

CSS border-left-color Property

To set the color of the left edge of the border

Definition and Notes.

1. The CSS border-left-color property is used to set the color of the left edge of the border.

2. Should be used only when very specific styling is required, otherwise border-color of border-left are more preferable


CSS border-left-color property. internetexplorer safari firefox opera chrome

View in Splitscreen»


Note- The element's border-style must be something other than hidden for the border to be visible

Property Values

Value Description
color To set the width of the left border.
transparent To set a transparent border, but the border still occupies the space set using border-width.
inherit The values for border-left-color are inherited from the parent element.


Specs Value
Name border-left-color
Value color | transparent | inherit
Initial Value The value of color for the element
Applies to All Element.
Javascript syntax" #fa4b2a "
Inherited No
Computed Value If nothing is specified, the computed value of the property color for the same element, else, same as declared value.
Browser Support internetexplorer safari firefox opera chrome

Related Examples.