/

HTML / CSS / JavaScript Tutorial

CSS Property: border-left-color

[this page | pdf | back links]

The CSS (CSS1) border-left-color property sets the colour of the left border of an element. You should always specify the border-style property before this property, as an element must have a border before you can change its characteristics.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

color

Specified CSS colour

transparent

Transparent

 

Default Value:

The current CSS colour of the element

JavaScript syntax:

e.g. object.style.borderLeftColor="red"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile