← Tailwind CSS classes list

Tailwind CSS class: .max-h-screen

<div class="max-h-screen h-5 w-5 bg-teal-400"></div>

Preview

CSS source

.max-h-screen { max-height: 100vh; }

More in Tailwind CSS Height