CSS border-right-width Property


In CSS, the border-right-width property is used to specify the width of an element's right-border. The border-style or border-right-style property must be declared before the border-right-width property.

Syntax

Example

Preview

Property Values

Value Description
medium This option specifies a medium right border. This is the default setting.
thin This option specifies a thin right border.
thick This option specifies a thick right border.
length You can specify the thickness of the right border. Learn more about length units.
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-width 1.0 1.0 1.0 4.0 3.5