Syntax

Max Height

Setting the maximum height of an element.

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

Overview

ClassDeclarations
max-h:sizemax-height: sizerem;
max-vhmax-height: 100vh;
max-h:fullmax-height: 100%;
max-h:fitmax-height: fit-content;
max-h:minmax-height: min-content;
max-h:maxmax-height: max-content;
max-h:screen-4xsmax-height: 22.5rem;
max-h:screen-3xsmax-height: 30rem;
max-h:screen-2xsmax-height: 37.5rem;
max-h:screen-xsmax-height: 48rem;
max-h:screen-smmax-height: 52.125rem;
max-h:screen-mdmax-height: 64rem;
max-h:screen-lgmax-height: 80rem;
max-h:screen-xlmax-height: 90rem;
max-h:screen-2xlmax-height: 100rem;
max-h:screen-3xlmax-height: 120rem;
max-h:screen-4xlmax-height: 160rem;

Conditionally apply

Apply styles based on different states using selectors and applying conditionally.

<div class="max-h:full:hover max-h:full@sm max-h:full@dark max-h:full@print"></div>
Design Token
Colors

Customizing color variables or starting with the crafted palette.

© Aoyue Design LLC.