1. Flexbox & Grid
  2. align-content

Flexbox & Grid

align-content

Utilities for adjusting the way rows are distributed across multi-row flex and grid containers.

ClassStyles
content-normal
align-content: normal;
content-center
align-content: center;
content-start
align-content: flex-start;
content-end
align-content: flex-end;
content-between
align-content: space-between;
content-around
align-content: space-around;
content-evenly
align-content: space-evenly;
content-baseline
align-content: baseline;
content-stretch
align-content: stretch;

Examples

Start

Reach for content-start to stack your rows tightly against the beginning of the cross axis:

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-start gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

Center

Reach for content-center to gather your rows neatly around the middle of the cross axis:

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-center gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

End

Reach for content-end to push your rows flush against the far end of the cross axis:

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-end gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

Space between

Reach for content-between to spread your rows out so that an equal measure of space falls between each line:

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-between gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

Space around

Reach for content-around to spread your rows out so that an equal measure of space wraps around each line:

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-around gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

Space evenly

Reach for content-evenly to spread your rows out with an identical measure of space wrapping around every item, while also collapsing the doubled-up gap you would normally notice sitting between each item when using content-around:

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-evenly gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

Stretch

Reach for content-stretch to let your content items grow and fill every bit of room along the container’s cross axis:

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-stretch gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

Normal

Reach for content-normal to keep your content items in their natural spot, exactly as if no align-content value

01
02
03
04
05
<div class="grid h-56 grid-cols-3 content-normal gap-4 ...">  <div>01</div>  <div>02</div>  <div>03</div>  <div>04</div>  <div>05</div></div>

Responsive design

Add a breakpoint variant such as md: in front of any align-content utility so it kicks in only at medium screen sizes and above:

<div class="grid content-start md:content-around ...">  <!-- ... --></div>

Discover more about working with variants variants documentation.

Ship interfaces that shine — 5-day mini-course

5-day crash course

Ship UIs you’ll be proud of.

Short, hands-on video lessons straight from the team behind Breezel, dropped right into your inbox every single day for a week.

Get the free course

Copyright © 2026 Breezel, Inc.·Trademark Policy