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