CSS border-right-style Property

The border-right-style property is used to specify the line style of the right border of an element (solid, double, dashed, etc.), unless there is a border image set.

Official Syntax

  • Syntax:

    border-right-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
  • Initial: none
  • Applies To: all elements
  • Animatable: no


The border style value can also be inherited from the element’s parent’s border style property.

Example -