Properties
CSS
border-left
The border-left property is a shorthand property for setting the width, style, and color of an element's left border.
border-left: [ <border-width> || <border-style> || <'border-top-color'> ] | inherit
| Initial: | medium, none, value of the color property |
| Applies To: | all elements |
| Inherited: | no |
| Percentages: | NA |
| Media: | visual |
- DOM
- Example | color | color
- Example | color | transparent
- Example | style | dashed
- Example | style | dotted
- Example | style | double
- Example | style | groove
- Example | style | hidden
- Example | style | inset
- Example | style | none
- Example | style | outset
- Example | style | ridge
- Example | style | solid
- Example | width | length
- Example | width | medium
- Example | width | thick
- Example | width | thin
- Example | DOM
- References
DOM
[window.]document.getElementById("element-id").style.borderLeft = "border-left-color border-left-style border-left-width";
