Example 3: `min-h-screen` and `w-full`

This section uses `min-h-screen` to be at least as tall as the viewport.

Inner Content Area

This inner div uses `w-full` (or responsive widths like `md:w-3/4`) to control its width within the full-height parent.

The parent `div` has `min-h-screen`.

Scroll if your content exceeds viewport height.

Key Classes Used:

Note on `min-h-screen` vs `h-screen`: `h-screen` sets a fixed height to 100vh. If content overflows, it might be cut off or require scrolling within that fixed height. `min-h-screen` is generally more flexible as it allows the container to grow if content is larger than the viewport.