CSS border-left

The CSS border-left property allows you to set all styles of a left border.
Syntax: border-left: <border-style1>, <border-style2> ...
Possible Values:
  • <border-width>
  • <border-style>
  • <border-color>
  • inherit
Initial Value: See individual properties
Applies to: All elements.
Inherited: No
Media: Visual
Example: div.border-style {border-left: 2px dotted #ff9900}
Try it yourself!