CSS border-right property

CSS border-right

CSS border-right property is a short hand property. It is used to set the properties for right border.

border-right consists of following shorthand properties

  • border-right-width : It is used to specify the right borders width.
  • border-right-style : It is used to specify the right borders style.
  • border-right-color : It is used to specify the right borders colors.

Example

Try Yourself

In the above example values used in border-right property are,

10px - border-right-width

dashed, double, solid - border-right-style

violet, blue, green - border-right-color