The border-right-color CSS property sets the color of the right border of an element. Note that in many cases the shorthand CSS properties border-color or border-right are more convenient and preferable.
InitialcurrentColor
Applies toall elements
Inheritedno
Mediavisual
Computed ValueIf the value is translucent, the computed value will be the rgba() corresponding one. If it isn’t, it will be the rgb() corresponding one. The transparent keyword maps to rgb(0,0,0).
Is a <color> CSS value describing the color of the right border.
inherit
Is a keyword denoting the color of the bottom border of the parent’s element (which may be different from the border-right-color default value)
Examples
pre {
border: solid 0.3em gold;
border-right-color: red;
}
/* this has the same result:
pre {
border: solid 0.3em;
border-color: gold red gold gold;
} */