CSS border-left property

CSS border-left

CSS border-left property is a short hand property. It is used to set the properties for left border.

border-left consists of following shorthand properties

  • border-left-width : It is used to specify the left borders width.
  • border-left-style : It is used to specify the left borders style.
  • border-left-color : It is used to specify the left borders colors.

Example

Try Yourself

In the above example values used in border-left property are,

10px - border-left-width

dotted, double, outset - border-left-style

orange, none, green - border-left-color