---
layout: single
property_name: justify-content
---
Defines how flexbox items are aligned according to the main axis, within a flexbox container.
The flexbox items are pushed towards the start of the container's main axis.
The flexbox items are pushed towards the end of the container's main axis.
The flexbox items are centered along the container's main axis.
The remaining space is distributed between the flexbox items.
The remaining space is distributed around the flexbox items: this adds space before the first item and after the last one.
#justify-content
default
justify-content: flex-start;
justify-content: flex-end;
justify-content: center;
justify-content: space-between;
justify-content: space-around;