CSS border-right-width

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

Note: You will also need to specify border-right-color and border-right-style before your border-right-width is displayed.

Syntax: border-right-width: <border-width>
Possible Values:
  • thin
  • medium
  • thick
  • length (for example, 1px)
  • inherit
Initial Value: Medium
Applies to: All elements.
Inherited: Yes
Media: Visual
Example: div.border-width {border-right-width:thick}
Try it yourself!