Flexbox & Grid
flex-direction to Tailwind
Direction is folded into theflex-* family, so flex-direction: column is flex-col — you still need flex alongside it.The 4 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-direction.
flex-direction values and their classes
| CSS | Tailwind |
|---|---|
| flex-direction: column; | flex-col |
| flex-direction: column-reverse; | flex-col-reverse |
| flex-direction: row; | flex-row |
| flex-direction: row-reverse; | flex-row-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