Style border Left Color Property

Style border Left Color Property


Style border Left Color Property
It sets the color of an element's left border. It can also be set with the shorthand CSS properties border-color or border-left. It is used to set the color of the left border in an Element.
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
 
Property
 
chrome
 
firefox
 
microsoft edge
 
opera
 
border-image-repeat
 
 
1.0
 
1.0
 
4.0
 
3.5
 
Syntax
border-left-color: color | transparent | initial | inherit;
Example
Output
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 current color of the element
 
Transparent
 
Specifies that the border color should be transparent
 
Initial
 
Set this property to its default value.
 
Inherit
 
Inherits this property from its parent element.
 
Technical Details
 
Default value:
 
The current color of the element
 
Version:
 
CSS1
 
Inherited
 
no
 
Animatable
 
yes
 
JavaScript syntax:
 
object.style.borderLeftColor="blue"