CSS border-left Property

CSS border-left Property


CSS border-left Property
This property defines in a shorthand form the width, style, and color for the left border of an element.
Syntax - 
border-left: 
border-width 
border-style 
border-color; 
 
Now we will see the three values or properties used for this property - 
  • Border-left-width
  • border-left-style 
  • border-left-color
Now we will see values with their descriptions -
Value
Description
border-left-width
border-width sets the width of the border as a positive numeric measurement or using a named value of thin, medium, or thick. 
border-left-style
border-width sets the width of the border as a positive numeric measurement or using a named value of thin, medium, or thick. 
border-left-color
border-color is used to set the color of the left border using a CSS color value.
 
Now we will see Example -
Example -
Output -