Easy Tutorial
❮ Func Radial Gradient Sel Valid ❯

CSS border-left-color Property

Example

Set the left border color:


Property Definition and Usage

The border-left-color property sets the color of an element's left border.

Note: Always declare the border-style property before the border-color property. The element must have a border before you can change its color.

Default value: not specified
Inherited: no
--- ---
Version: CSS1
--- ---
JavaScript syntax: object.style.borderLeftColor="blue"
--- ---

Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property
border-left-color 1.0 4.0 1.0 3.5 1.0

Property Values

Value Description
color Specifies the color of the left border. See CSS Color Values
transparent Specifies that the border color should be transparent. This is the default
inherit Specifies that the border color should be inherited from the parent element

Related Articles

CSS Tutorial: CSS Border

CSS Reference: border-left Property

❮ Func Radial Gradient Sel Valid ❯