We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

flex-grow Redirect 1


The CSS flex-grow property specifies the flex grow factor of a flex item.

  • Initial value 0
  • Applies to flex items, including in-flow pseudo-elements
  • Inherited no
  • Media visual
  • Computed value as specified
  • Animatable yes, as a number, except between 0 and other values
  • Canonical order the unique non-ambiguous order defined by the formal grammar

See Using CSS flexible boxes for more properties and information.


Formal syntax: <number>
flex-grow: 3

flex-grow: inherit


See <number>. Negative values are invalid.


element { 
  flex-grow: 3;


Specification Status Comment
CSS Flexible Box Layout Module Candidate Recommendation  

Browser compatibility

Feature Firefox (Gecko) Chrome Internet Explorer Opera Safari
Basic support 18.0 (18.0) (behind a pref) [1]
20.0 (20.0)
21.0-webkit Not supported 12.10 Not supported
Feature Firefox Mobile (Gecko) Android IE Phone Opera Mobile Safari Mobile
Basic support ? ? Not supported 12.10 Not supported

[1] Firefox supports only single-line flexbox until Firefox 28. To activate flexbox support, for Firefox 18 and 19, the user has to change the about:config preference "layout.css.flexbox.enabled" to true.

See also

Document Tags and Contributors

Last updated by: Sheppy,