CSS border-right-style Property


The border-right-style CSS property is used to change the appearance of an element's right line segment of its border.

Syntax

Example

Preview

Property Values

Value Description
none No border is specified. This is the default setting.
hidden Except in border conflict resolution for table elements, this is the same as "none."
dotted A dotted border is specified.
dashed A dashed border is specified.
solid This option specifies a solid border.
double This option specifies a double border.
groove This option specifies a 3D grooved border. The effect is determined by the border-color value.
ridge This option specifies a 3D ridged border. The effect is determined by the border-color value.
inset This option specifies a 3D inset border. The effect is determined by the border-color value.
outset This property specifies a 3D outset border. The effect is determined by the border-color 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-style 1.0 1.0 1.0 4.0 3.5