Kyle Shevlin 3/30/2024

Tailwind “Minimum Full Height” Layout

Read Original

This article explains how to implement a 'minimum full height' webpage layout using Tailwind CSS. It details the required HTML structure and utility classes (like h-full, min-h-full, flex-col, and grow) to ensure the main content area expands to fill available space. It also discusses an update recommending the use of `h-dvh` (dynamic viewport height) over `h-full` for better mobile browser compatibility.

Tailwind “Minimum Full Height” Layout

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week