The flex-grow property defines the ability of a flex item to grow and occupy available free space within a flex container.
The default is 0, meaning the item will not grow beyond its initial size.
If all items have flex-grow:1 they grow equally.
If one item has flex-grow:2 and others have 1, that item takes twice as much of the extra space as the others.
flex-grow values are available from 0 to 12.
Class list
Class name |
value |
---|---|
co-grow-0 |
flex-grow: 0; |
co-grow-1 |
flex-grow: 1; |
co-grow-2 |
flex-grow: 2; |
co-grow-3 |
flex-grow: 3; |
co-grow-4 |
flex-grow: 4; |
co-grow-5 |
flex-grow: 5; |
co-grow-6 |
flex-grow: 6; |
co-grow-7 |
flex-grow: 7; |
co-grow-8 |
flex-grow: 8; |
co-grow-9 |
flex-grow: 9; |
co-grow-10 |
flex-grow: 10; |
co-grow-11 |
flex-grow: 11; |
co-grow-12 |
flex-grow: 12; |
Examples


Responsive design
All responsive flex-grow classes are available from co-grow-1 to co-grow-12
Class name |
---|
xs:co-grow-* |
sm:co-grow-* |
md:co-grow-* |
lg:co-grow-* |
xl:co-grow-* |