CSS border-right-color Property


The border-right-color Property is used to specify the color  of an Element's right-border. The border-style or border-left-style property must be declared before the border-right-color property.

Syntax

Example

Preview

Property Values

Value Description
color The color of the right border is specified here. For a complete list of color values, see CSS Color Values. The element's current color is the default color.
transparent The border color should be transparent, as specified.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
border-right-color 1.0 1.0 1.0 4.0 3.5