Max-height
Utilities for setting the maximum height of an element
Class reference
Usage
Set the maximum height of an element using the max-h-full
or max-h-screen
utilities.
Responsive
To control the max-height of an element at a specific breakpoint, add a {screen}:
prefix to any existing max-height utility.
<div class="h-48 max-h-full **md:max-h-screen** ...">
<span>Target</span>
</div>
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5