Flexbox & Grid

grid-auto-flow to Tailwind

Becomes grid-flow-*, including the dense packing variants.

The 5 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 grid-auto-flow.

grid-auto-flow values and their classes

CSSTailwind
grid-auto-flow: column;grid-flow-col
grid-auto-flow: column dense;grid-flow-col-dense
grid-auto-flow: dense;grid-flow-dense
grid-auto-flow: row;grid-flow-row
grid-auto-flow: row dense;grid-flow-row-dense

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