Example

A simple border-left-color property example:

Laboratory

description & Usage

The color of the left border is determined by the border-left-color property.

Informations

# Description
Default Value The current color of the element
Inherited no
Animatable yes
Version CSS1
JavaScript syntax object.style.borderLeftColor="blue"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
border-left-color

Syntax

Values

Values Description
color Sets the color of the left border.
transparent Makes the border color transparent.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.