Flexbox & Grid
row-gap to Tailwind
The per-axis gap becomesgap-y-*, which is the axis name Tailwind uses rather than row.The 35 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 row-gap.
row-gap values and their classes
| CSS | Tailwind |
|---|---|
| row-gap: 0; | gap-y-0 |
| row-gap: 0.125rem; | gap-y-0.5 |
| row-gap: 0.25rem; | gap-y-1 |
| row-gap: 0.375rem; | gap-y-1.5 |
| row-gap: 0.5rem; | gap-y-2 |
| row-gap: 0.625rem; | gap-y-2.5 |
| row-gap: 0.75rem; | gap-y-3 |
| row-gap: 0.875rem; | gap-y-3.5 |
| row-gap: 1px; | gap-y-px |
| row-gap: 1rem; | gap-y-4 |
| row-gap: 1.25rem; | gap-y-5 |
| row-gap: 1.5rem; | gap-y-6 |
| row-gap: 1.75rem; | gap-y-7 |
| row-gap: 2rem; | gap-y-8 |
| row-gap: 2.25rem; | gap-y-9 |
| row-gap: 2.5rem; | gap-y-10 |
| row-gap: 2.75rem; | gap-y-11 |
| row-gap: 3rem; | gap-y-12 |
| row-gap: 3.5rem; | gap-y-14 |
| row-gap: 4rem; | gap-y-16 |
| row-gap: 5rem; | gap-y-20 |
| row-gap: 6rem; | gap-y-24 |
| row-gap: 7rem; | gap-y-28 |
| row-gap: 8rem; | gap-y-32 |
| row-gap: 9rem; | gap-y-36 |
| row-gap: 10rem; | gap-y-40 |
| row-gap: 11rem; | gap-y-44 |
| row-gap: 12rem; | gap-y-48 |
| row-gap: 13rem; | gap-y-52 |
| row-gap: 14rem; | gap-y-56 |
| row-gap: 15rem; | gap-y-60 |
| row-gap: 16rem; | gap-y-64 |
| row-gap: 18rem; | gap-y-72 |
| row-gap: 20rem; | gap-y-80 |
| row-gap: 24rem; | gap-y-96 |
The spacing scale
row-gap is written with gap-y-*, which counts in steps of 0.25rem. The step number is the multiplier, so the class number is the value divided by that step rather than a pixel count.
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.
gap-y-[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