Skip to content

Glossary: Tailwind CSS

Stacked variants

Also written: stacking variants, max- variant, md:max-lg:

Variants combine and read left to right: `md:hover:underline` underlines on hover only from 48rem up. A `max-` variant such as `max-md:` targets screens narrower than a breakpoint.

Where the book teaches it

Related terms

VariantBreakpoint