Flexbox & Grid

flex-wrap to Tailwind

Three wrap keywords become flex-wrap, flex-wrap-reverse and flex-nowrap.

The 3 mappings below are read straight out of Tailwind v4.3.3, not maintained by hand, so this is what the converter will actually produce for flex-wrap.

flex-wrap values and their classes

CSSTailwind
flex-wrap: nowrap;flex-nowrap
flex-wrap: wrap;flex-wrap
flex-wrap: wrap-reverse;flex-wrap-reverse

Other flexbox & grid properties

Converting a whole stylesheet?

Paste it into the converter and get every rule at once, shorthands expanded, media queries turned into breakpoint variants, and the parts that have no Tailwind equivalent flagged rather than dropped.

Open the converter