property
border-style — CSS reference
Sets style for four physical border edges using one to four clockwise values, following margin shorthand expansion. Initial none; not inherited. None and hidden suppress the border, with distinct significance in collapsed table borders.
Formal Syntax & Structure
css syntaxcss
<line-style>{1,4}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:6px solid black;border-style: solid dashed dotted double}</style><body><div id="a" class="sample">Sample</div></body></html>