CSS border-left-color property
Description of property definition and use
The border-left-color property sets the left box color of an element.
Note Always declare the border-style property before the border-color property. The element must get the border before you change its color.
Default: | not specified |
---|---|
Inherited: | no |
Version: | CSS1 |
JavaScript syntax: | object object.style.borderLeftColor="blue" |
Browser support
The numbers in the table support the first browser version number of the property.
Attributes | |||||
---|---|---|---|---|---|
border-left-color | 1.0 | 4.0 | 1.0 | 3.5 | 1.0 |
Property Values
Value | Description |
---|---|
color | Specify the color of the left box. Find a complete list of color values in CSS Color Values. |
transparent | The color of the specified border should be transparent. This is the default |
inherit | Specifies the color of the border and should be inherited from the parent element |
Related articles
CSS tutorial: CSS Border
CSS Reference Manual: Border-left Properties