CSS flex-grow property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS flex-grow determines how much the flex item should expand to fill the remaining space relative to the other flex items.
Negative values are not allowed.
Syntax
flex-grow : +ve integer
Property values
+ve integer
-
The flex items expand to fill the free remaining space relative to the other items.
- Try it
flex-grow: 1;
Applicable to
It applies to flex items.