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.
.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
Updated