Sizing

Height

Style syntax for setting an element’s height.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
height:size / h:sizeheight: sizerem
h:fullheight: size%
h:fitheight: fit-content
h:maxheight: max-content
h:maxheight: max-content
h:3xs / h:360height: 30rem
h:2xs / h:480height: 37.5rem
h:xs / h:600height: 48rem
h:sm / h:768height: 52.125rem
h:md / h:1024height: 64rem
h:lg / h:1280height: 80rem
h:xl / h:1440height: 90rem
h:2xl / h:1600height: sizerem
h:3xl / h:1920height: 120rem
h:4xl / h:2560height: 160rem

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="height:full:hover height:full@sm height:full@dark height:full@print"></div>
PREVIOUS
Box Sizing

Style syntax for setting how the total width and height of an element is calculated.

NEXT
Max Height

Style syntax for setting the maximum height of an element.

MIT License © Aoyue Design LLC.