Browse documentation

Reference / Sizing

Min height

Reserve a minimum height while letting a section expand when its content needs more room.

Working example

Min-h-dvh follows changes in the visible mobile viewport. Min-h-svh uses the smaller viewport size for a steadier minimum.

HTML
<section class="grid min-h-24 place-items-center border p-3">
  <p>Drop proofs here.</p>
</section>

Class reference

ClassCSS declarations
min-h-0min-height: 0px;
min-h-20min-height: 5rem;
min-h-fullmin-height: 100%;
min-h-screenmin-height: 100vh;
min-h-svhmin-height: 100svh;
min-h-dvhmin-height: 100dvh;
min-h-[6rem]min-height: 6rem;
View full generated CSS
Compiled CSS
.min-h-0 {
  min-height: 0px;
}
.min-h-20 {
  min-height: 5rem;
}
.min-h-\[6rem\] {
  min-height: 6rem;
}
.min-h-dvh {
  min-height: 100dvh;
}
.min-h-full {
  min-height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}
.min-h-svh {
  min-height: 100svh;
}