CSS border-right Property


The border-right Property is a shorthand property for all three Properties listed below:

Syntax

Example

Preview

Property Values

Value Description
border-right-width Required. The width of the right border is specified. The default setting is "medium."
border-right-style Required. The style of the right border is specified here. The default value is "none."
border-right-color Optional. The color of the right border is specified here. The color of the text is the default value.
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 1.0 1.0 1.0 4.0 3.5