ScanSkill

border-right

The border-right property is defined to set the right border of an element.

Syntax

border-right: border-width border-style border-color | none;

Example

.mydiv{
	border-right: 1px solid red;
}

Property Values

border-width: sets the width of the right border.

border-style: sets the style of the right border.

border-color: sets the color of the right border.

none: sets no right border.(default value)