flex-grow

The flexbox property that says how much of the leftover space an item takes, relative to the other items' grow values.

In more detail

If a container has 300px spare and two items have flex-grow 1 and 2, they gain 100px and 200px. An item with flex-grow 0 keeps its base size.

Related terms

Taught in

References