Box Sizing
Set the box sizing model for an element.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
Usage
<div class="bs-cb ..."></div><div class="bs-bb ..."></div>Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:bs-*Small≥640px
md:bs-*Medium≥768px
lg:bs-*Large≥1024px
xxl:bs-*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:bs-*