Syntax

border-style

Setting the line style for an element’s border.

Overview

ClassDeclarations
b:`style`border: `style`;
bt:`style`border-top: `style`;
bb:`style`border-bottom: `style`;
bl:`style`border-left: `style`;
br:`style`border-right: `style`;
bx:`style`border-left: `style`; border-right: `style`;
by:`style`border-top: `style`; border-bottom: `style`;
b:noneborder-style: none;
b:hiddenborder-style: hidden;
b:dottedborder-style: dotted;
b:dashedborder-style: dashed;
b:solidborder-style: solid;
b:doubleborder-style: double;
b:grooveborder-style: groove;
b:ridgeborder-style: ridge;
b:insetborder-style: inset;
b:outsetborder-style: outset;

Apply conditionally

Apply styles based on different states using selectors and conditional queries.

<div class="border-style:solid:hover border-style:solid@sm border-style:solid@dark border-style:solid@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy