Flex Wrap
Utilities for controlling how flex items wrap.
Use to prevent flex items from wrapping, causing inflexible items to overflow the container if necessary:
Use to wrap flex items in the reverse direction:
For a complete list of all available state modifiers, check out the documentation.
You can also use variant modifiers to target media queries like responsive breakpoints, dark mode, prefers-reduced-motion, and more. For example, use md:flex-wrap-reverse
to apply the utility at only medium screen sizes and above.
To learn more, check out the documentation on , Dark Mode and .