CSS border-left-color property
Attribute definitions and instructions
border-left-color property settings of an element's left border color.
Note Before youalways put the border-style property declaration to the border-color property. Border element must be obtained before you change its color.
Defaults: | not specified |
---|---|
inherit: | no |
version: | CSS1 |
JavaScript syntax: | object object.style.borderLeftColor = "blue" |
Browser Support
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
border-left-color | 1.0 | 4.0 | 1.0 | 3.5 | 1.0 |
Property Value
value | Explanation |
---|---|
color | Specifies the left border color. In the CSS color values to find a complete list of color values. |
transparent | Specifies the color of the border should be transparent. This is the default |
inherit | Specifies the color of the border, should be inherited from the parent element |
related articles
CSS tutorial: CSS Border
CSS Reference: border-left property