Skip to main content

Place Items

Utilities for controlling how items are justified and aligned at the same time.

CSS Property:place-items
Classes:5

Place Items Classes

ClassCSS
place-items-startplace-items: start;
place-items-endplace-items: end;
place-items-centerplace-items: center;
place-items-baselineplace-items: baseline;
place-items-stretchplace-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 place items utilities at specific breakpoints using responsive prefixes.

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