Skip to main content

Justify Content

Utilities for controlling how flex and grid items are positioned along a container's main axis.

CSS Property:justify-content
Classes:8

Justify Content Classes

ClassCSS
justify-normaljustify-content: normal;
justify-startjustify-content: flex-start;
justify-endjustify-content: flex-end;
justify-centerjustify-content: center;
justify-betweenjustify-content: space-between;
justify-aroundjustify-content: space-around;
justify-evenlyjustify-content: space-evenly;
justify-stretchjustify-content: stretch;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

Responsive Variants

Apply justify content utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:justify-normal
768px+md:md:justify-normal
1024px+lg:lg:justify-normal
1280px+xl:xl:justify-normal
1536px+2xl:2xl:justify-normal