Easy Tutorial
❮ Jsref Fill Prop Doc Domain ❯

Style borderLeftColor Property


Definition and Usage

The borderLeftColor property sets or returns the color of an element's left border.

Syntax

Set the borderLeftColor property:

Return the borderLeftColor property:

Note: The borderLeftColor property has no default value.

Value Description
color Specifies the color of the left border. See CSS Color Values
transparent The left border is transparent (the underlying content will show through).
inherit The left border color is inherited from the parent element.

Browser Support

All major browsers support the borderLeftColor property.

Note: IE7 and earlier versions do not support the "inherit" value. IE8 only supports "inherit" if the !DOCTYPE is specified. IE9 supports "inherit".


Example

Change the color of the left border:

❮ Jsref Fill Prop Doc Domain ❯