Flexbox & Grid
align-items to Tailwind
Becomes theitems-* family, where align-items: center is the very common items-center.The 8 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 align-items.
align-items values and their classes
| CSS | Tailwind |
|---|---|
| align-items: baseline; | items-baseline |
| align-items: center; | items-center |
| align-items: flex-end; | items-end |
| align-items: flex-start; | items-start |
| align-items: last baseline; | items-baseline-last |
| align-items: safe center; | items-center-safe |
| align-items: safe flex-end; | items-end-safe |
| align-items: stretch; | items-stretch |
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