Skip to main content

Justify Items

Utilities for controlling how grid items are aligned along their inline axis.

CSS Property:justify-items
Classes:4

Justify Items Classes

ClassCSS
justify-items-startjustify-items: start;
justify-items-endjustify-items: end;
justify-items-centerjustify-items: center;
justify-items-stretchjustify-items: 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 items utilities at specific breakpoints using responsive prefixes.

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