# Justify content

*noun*

say it: **“JUS-tih-fy KON-tent”** **/ˈdʒʌstɪfaɪ ˈkɒntɛnt/**

The CSS property that spreads flex or grid items along their main direction, such as center or space-between.

## What does `justify-content` do?

`justify-content` spreads items along the main axis: packed at the start, centered, or with space between them.

```css
.header { display: flex; justify-content: space-between; }   /* logo left, menu right */
```

## In a sentence

- “**justify-content**: space-between puts the logo on the left and the cart on the right.”

Level: Journeyman · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/justify-content
