Box Sizing
Controls the calculation of the total size of an element.
Class | Properties |
---|---|
bs-bb | box-sizing: border-box; |
bs-cb | box-sizing: content-box; |
Content box
The height and width of an element only apply to its content.
Border box
The height and width of the element are the same for all parts.
Using breakpoints
Using responsive breakpoints like sm:bs-*
, md:bs-*
, lg:bs-*
, and xxl:bs-*
allows targeting specific utilities in different viewports.
Using variants
Using :hover
variants such as h:bs-*
allows you to override elements and change their values when hovering over them.