Min-Height

    Utilities for setting the minimum height of an element.

    Set the minimum height of an element using the , min-h-full, or min-h-screen utilities.


    Tailwind lets you conditionally apply utility classes in different states using variant modifiers. For example, use hover:min-h-full to only apply the utility on hover.

    You can also use variant modifiers to target media queries like responsive breakpoints, dark mode, prefers-reduced-motion, and more. For example, use md:min-h-full to apply the min-h-full utility at only medium screen sizes and above.

    To learn more, check out the documentation on Responsive Design, and other media query modifiers.


    You can customize your min-height scale by editing or theme.extend.minHeight in your tailwind.config.js file.

    Learn more about customizing the default theme in the documentation.

    If you need to use a one-off min-height value that doesn’t make sense to include in your theme, use square brackets to generate a property on the fly using any arbitrary value.

    Learn more about arbitrary value support in the documentation.