Flex grow
noun
say it: “FLEKS GROH” /flɛks ɡroʊ/
A number that says how much of a flex container's leftover space an item takes; an item with 2 gets twice the share of an item with 1.
What does flex-grow do?
flex-grow says how much of the leftover space an item takes. 1 means "grow to fill".
.search-box { flex-grow: 1; } /* the search field fills the rest of the toolbar */
In a sentence
- “The search box has flex-grow: 1, so it stretches to fill whatever room the buttons leave.”
Level: Journeyman · More CSS terms at this level
Updated