property
border-left — CSS reference
Shorthand for physical left border width, style and color. Omitted components reset to medium, none and currentColor. Other physical sides are unaffected. Use logical properties for direction-relative behavior.
Formal Syntax & Structure
css syntaxcss
<line-width> || <line-style> || <color>Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS box geometry lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}#a{border:1px solid black;border-left:5px dashed teal}</style><body><div id="a" class="sample">Sample</div></body></html>