Flexbox & Grid

justify-content to Tailwind

Becomes the justify-* family — the main-axis counterpart to items-*.

The 11 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 justify-content.

justify-content values and their classes

CSSTailwind
justify-content: baseline;justify-baseline
justify-content: center;justify-center
justify-content: flex-end;justify-end
justify-content: flex-start;justify-start
justify-content: normal;justify-normal
justify-content: safe center;justify-center-safe
justify-content: safe flex-end;justify-end-safe
justify-content: space-around;justify-around
justify-content: space-between;justify-between
justify-content: space-evenly;justify-evenly
justify-content: stretch;justify-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