Flexbox & Grid
grid-column to Tailwind
Spans map tocol-span-* and explicit lines to col-start-* / col-end-*.The 14 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-column.
grid-column values and their classes
| CSS | Tailwind |
|---|---|
| grid-column: 1 / -1; | col-span-full |
| grid-column: auto; | col-auto |
| grid-column: span 1 / span 1; | col-span-1 |
| grid-column: span 10 / span 10; | col-span-10 |
| grid-column: span 11 / span 11; | col-span-11 |
| grid-column: span 12 / span 12; | col-span-12 |
| grid-column: span 2 / span 2; | col-span-2 |
| grid-column: span 3 / span 3; | col-span-3 |
| grid-column: span 4 / span 4; | col-span-4 |
| grid-column: span 5 / span 5; | col-span-5 |
| grid-column: span 6 / span 6; | col-span-6 |
| grid-column: span 7 / span 7; | col-span-7 |
| grid-column: span 8 / span 8; | col-span-8 |
| grid-column: span 9 / span 9; | col-span-9 |
Values that are not on the scale
Anything without a named class is written as an arbitrary value in square brackets. The converter falls back to this rather than rounding your CSS to the nearest class, because silently changing a value is worse than an ugly class name.
col-[your value]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