ScanSkill

border-left

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

Syntax

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

Example

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

Property Values

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

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

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

none: sets no left border.(default value)