Skip to main content

Align Content

Utilities for controlling how rows are positioned in multi-row flex and grid containers.

CSS Property:align-content
Classes:9

Align Content Classes

ClassCSS
content-normalalign-content: normal;
content-centeralign-content: center;
content-startalign-content: flex-start;
content-endalign-content: flex-end;
content-betweenalign-content: space-between;
content-aroundalign-content: space-around;
content-evenlyalign-content: space-evenly;
content-baselinealign-content: baseline;
content-stretchalign-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 align content utilities at specific breakpoints using responsive prefixes.

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