justify-content

The flexbox and grid property that distributes free space along the main axis, for example packing items at the start or spreading them evenly.

In more detail

Values include flex-start, center, space-between and space-evenly. It only has an effect when there is spare space left over.

Related terms

Taught in

References