Menu
The flex-grow
property designates how a flexible item will shrink in relation to the rest of the flexible items in the same container.
This property only has an effect on flexible items.
div.ex {
flex-grow: 2;
}
number
Default value is 0. A numerical value that sets how much the item will grow in relation to the rest of the flexible items in the same container.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of flex-grow
? Submit a codepen.io demo and we'll showcase it here ↴