Skip to main content

Min-Height

Utilities for setting the minimum height of an element.

CSS Property:min-height
Classes:26

Min-Height Classes

ClassCSS
min-h-0min-height: 0;
min-h-1min-height: 0.25rem;
min-h-2min-height: 0.5rem;
min-h-4min-height: 1rem;
min-h-8min-height: 2rem;
min-h-12min-height: 3rem;
min-h-16min-height: 4rem;
min-h-20min-height: 5rem;
min-h-24min-height: 6rem;
min-h-32min-height: 8rem;
min-h-40min-height: 10rem;
min-h-48min-height: 12rem;
min-h-56min-height: 14rem;
min-h-64min-height: 16rem;
min-h-72min-height: 18rem;
min-h-80min-height: 20rem;
min-h-96min-height: 24rem;
min-h-pxmin-height: 1px;
min-h-fullmin-height: 100%;
min-h-screenmin-height: 100vh;
min-h-svhmin-height: 100svh;
min-h-lvhmin-height: 100lvh;
min-h-dvhmin-height: 100dvh;
min-h-minmin-height: min-content;
min-h-maxmin-height: max-content;
min-h-fitmin-height: fit-content;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[min-height:value]

Responsive Variants

Apply min-height utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:min-h-0
768px+md:md:min-h-0
1024px+lg:lg:min-h-0
1280px+xl:xl:min-h-0
1536px+2xl:2xl:min-h-0