CSS border-right Property

The css border-right property is the shorthand property that defines the border-width, border-style and border-color of an element’s right border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the right border — border-right-width, border-right-style and border-right-color.

Syntax for border-right property

[ border-width || border-style || 'border-top-color' ] | inherit