Browse By Name
HTMLCSSJavaScriptAppendix
You are here: Reference > CSS > properties > border-right-color

border-right-color property

A A Font size Print Content Add new content Share Share
Browser support:
Specifies the color of the element's right border.
If you want to use this element dynamically, visit the JavaScript page for this property: borderRightColor. 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-right-color property:
<head>
    <style>
        .example {
            border-right-color: blue;
            border-right-width: 6px;
            border-right-style: solid;
        }
    </style>
</head>
<body>
    <div class="example">Border-right-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