Align content
Utilities for controlling how lines are positioned in multi-line flex containers
Class reference
Start
Use .content-start
to pack lines in a flex container against the start of the cross axis:
Center
Use .content-center
to pack lines in a flex container in the center of the cross axis:
End
Use .content-end
to pack lines in a flex container against the end of the cross axis:
Space between
Use .content-between
to distribute lines in a flex container such that there is an equal amount of space between each line:
Space around
Use .content-around
to distribute lines in a flex container such that there is an equal amount of space around each line:
Responsive
To control the alignment of flex content at a specific breakpoint, add a {screen}:
prefix to any existing utility class. For example, use md:content-around
to apply the content-around
utility at only medium screen sizes and above.
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5