You are here: Reference > CSS > properties > border-left-color

border-left-color property

Browser support:
Specifies the color of the element's left border.
JavaScript page for this property: borderLeftColor. You can find other example(s) there.

Possible values:

 One of the following values: 
color
Color of the border. For the supported color values, see the colors page.
inherit
Takes the value of this property from the computed style of the parent element.
transparent
Default. Underlying content will shine through.
Default: this property has no default value.

Example HTML code 1:

This example illustrates the use of the border-left-color property:
<head>
    <style>
        .example {
            border-left-color: blue;
            border-left-width: 6px;
            border-left-style: solid;
        }
    </style>
</head>
<body>
    <div class="example">Border-left-color: blue</div>
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content