CSS flex-grow Property Reference
The CSS flex-grow property is a standard property in CSS Flexible Box Layout. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
flex-grow overview
The CSS flex-grow property is a standard property in CSS Flexible Box Layout. Review its formal syntax, computed behavior, and practical declarations.
The property is not inherited by default. Use an explicit global keyword when inheritance is intended.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | <number> |
| Initial value | 0 |
| Applies to | flexItemsAndInFlowPseudos |
| Inherited | No |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | number |
| Media | visual |
| Specification group | CSS Flexible Box Layout |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set flex-grow. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
flex-grow: initial;
}
.inherit-example {
flex-grow: inherit;
}
@supports (flex-grow: initial) {
.supported {
flex-grow: initial;
}
}