Flexbox & Grid

grid-row to Tailwind

Spans map to row-span-* and explicit lines to row-start-* / row-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-row.

grid-row values and their classes

CSSTailwind
grid-row: 1 / -1;row-span-full
grid-row: auto;row-auto
grid-row: span 1 / span 1;row-span-1
grid-row: span 10 / span 10;row-span-10
grid-row: span 11 / span 11;row-span-11
grid-row: span 12 / span 12;row-span-12
grid-row: span 2 / span 2;row-span-2
grid-row: span 3 / span 3;row-span-3
grid-row: span 4 / span 4;row-span-4
grid-row: span 5 / span 5;row-span-5
grid-row: span 6 / span 6;row-span-6
grid-row: span 7 / span 7;row-span-7
grid-row: span 8 / span 8;row-span-8
grid-row: span 9 / span 9;row-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.

row-[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