css.properties.flex

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 29 on 2013-08-20

In Chrome Android version 29 on 2013-08-21

In Edge version 12 on 2015-07-29

In Firefox version 22 on 2013-06-25 Note: Since Firefox 28, multi-line flexbox is supported. Before Firefox 32, Firefox wasn't able to animate values starting or stopping at 0. Until Firefox 61, flex items that are sized according to their content are sized using fit-content, not max-content.

In Firefox for Android version 22 on 2013-06-25 Note: Since Firefox for Android 28, multi-line flexbox is supported. Before Firefox for Android 32, Firefox for Android wasn't able to animate values starting or stopping at 0. Until Firefox for Android 61, flex items that are sized according to their content are sized using fit-content, not max-content.

In Internet Explorer version 11 on 2013-10-17 Note: Internet Explorer 11 ignores uses of calc() in the flex-basis part of the flex syntax. This can be worked around by using the longhand properties instead of the shorthand. See Flexbug #8 for more info. Internet Explorer 11 considers a unitless value in the flex-basis part to be syntactically invalid (and will thus be ignored). A workaround is to always include a unit in the flex-basis part of the flex shorthand value. See Flexbug #4 for more info. Internet Explorer 10 and 11 ignore uses of calc() in the flex-basis part of the flex syntax. This can be worked around by using the longhand properties instead of the shorthand. See Flexbug #8 for more info. Internet Explorer 10 and 11 consider a unitless value in the flex-basis part to be syntactically invalid (and will thus be ignored). A workaround is to always include a unit in the flex-basis part of the flex shorthand value. See Flexbug #4 for more info.

In Quest Browser version 5.0 on undefined

In Opera version 12.1 on 2012-11-20

In Opera Android version 12.1 on 2012-10-09

In Safari version 9 on 2015-09-30

In Safari on iOS version 9 on 2015-09-16

In Samsung Internet version 2.0 on 2014-10-17

In WebView Android version 4.4 on 2013-12-09

In WebView on iOS version 9 on 2015-09-16