property

border-right-color — CSS reference

Sets color of the physical right border. Initial currentColor; not inherited as a property. The initial keyword follows the foreground color and does not create a border by itself.

Formal Syntax & Structure

css syntaxcss
<color>

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS box geometry lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}#a{border:6px solid black;border-right-color:green}</style><body><div id="a" class="sample">Sample</div></body></html>
CSS Reference