# Flex wrap

*noun*

say it: **“FLEKS RAP”** **/flɛks ræp/**

The CSS property that lets flex items move onto a new line when they run out of room, instead of squeezing into one line.

## What does `flex-wrap` do?

`flex-wrap` lets flex items move onto a new line when they run out of room, instead of squashing.

```css
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
```

## In a sentence

- “With **flex-wrap**: wrap, the genre tags spill onto a second line on a phone.”

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/flex-wrap
