Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
btw-0border-top-width: 0;btw-1border-top-width: 1px;btw-2border-top-width: 2px;btw-3border-top-width: 3px;btw-4border-top-width: 4px;btw-5border-top-width: 5px;btw-6border-top-width: 6px;btw-7border-top-width: 7px;btw-8border-top-width: 8px;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:btw-(value)Small≥640px
md:btw-(value)Medium≥768px
lg:btw-(value)Large≥1024px
xxl:btw-(value)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:btw-(value)Logical Properties
Use logical properties to adapt to the document's writing mode & direction.
Border Block Start Width
Set the logical block-start border width for an element.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
bbsw-0border-block-start-width: 0;bbsw-1border-block-start-width: 1px;bbsw-2border-block-start-width: 2px;bbsw-3border-block-start-width: 3px;bbsw-4border-block-start-width: 4px;bbsw-5border-block-start-width: 5px;bbsw-6border-block-start-width: 6px;bbsw-7border-block-start-width: 7px;bbsw-8border-block-start-width: 8px;