CSS border-right-style

Also see the full, alphabetical list of CSS properties


The CSS border-right-style property allows you to set the style of a right border.

You can also use border-style to set the style for all sides of your element.

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!


Also see all CSS properties listed alphabetically


Enjoy this page?