CSS border-right-style

The CSS border-right-style property allows you to set the style of a right border.
Note: You will also need to specify border-right-color and border-right-width before your border-right-style is displayed.

Syntax: border-right-style: <border-style>
Possible Values:
  • none
  • hidden
  • dotted
  • dashed
  • solid
  • double
  • groove
  • ridge
  • inset
  • outset
  • inherit
Initial Value: None
Applies to: All elements.
Inherited: Yes
Media: Visual
Example: div.border-style {border-right-style:dotted}
Try it yourself!