Border Width
Set the width for element borders.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
bw-0border-width: 0;bw-1border-width: 1px;bw-2border-width: 2px;bw-3border-width: 3px;bw-4border-width: 4px;bw-5border-width: 5px;bw-6border-width: 6px;bw-7border-width: 7px;bw-8border-width: 8px;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:bw-*Small≥640px
md:bw-*Medium≥768px
lg:bw-*Large≥1024px
xxl:bw-*Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:bw-*Negative Values
Use negative variants to apply negative border width values.
Use the -- syntax to apply negative numeric values.
Syntax:
bw--*