border-left

The border-left shorthand CSS property sets all the properties of an element's left border.

Example

Initial value as each of the properties of the shorthand:border-left-width: mediumborder-left-style: noneborder-left-color: currentcolor
Applies to all elements. It also applies to ::first-letter.

Syntax

  
border-left: 8px solid red;
 
  

Values

See border-left-width.
See border-left-style.
See border-left-color.

Browser support

border-left112143.51

We use cookies to improve your experience. Learn more in our Privacy policy.

×