Easy Tutorial
❮ Prop Keygen Form Prop Style Backgroundattachment ❯

Style borderRightColor Property


Definition and Usage

The borderRightColor property sets or returns the color of the right border of an element.

Syntax

Set the borderRightColor property:

Return the borderRightColor property:

Note: The borderRightColor property has no default value.

Value Description
color Specifies the color of the right border. See CSS Color Values
transparent The right border is transparent (the underlying content will show through).
inherit The right border inherits the color from its parent element.

Browser Support

All major browsers support the borderRightColor property.

Note: IE7 and earlier versions do not support the "inherit" value. IE8 requires a !DOCTYPE to support "inherit". IE9 supports "inherit".


Example

Change the color of the right border:


❮ Prop Keygen Form Prop Style Backgroundattachment ❯