{ "css": { "properties": { "flex": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/flex", "support": { "chrome": [ { "version_added": "29" }, { "prefix": "-webkit-", "version_added": "21" } ], "chrome_android": [ { "version_added": "29" }, { "prefix": "-webkit-", "version_added": "25" } ], "edge": [ { "version_added": "12" }, { "prefix": "-webkit-", "version_added": "12" } ], "edge_mobile": [ { "version_added": true }, { "prefix": "-webkit-", "version_added": true } ], "firefox": [ { "version_added": "20", "notes": [ "Since Firefox 28, multi-line flexbox is supported.", "Before Firefox 32, Firefox wasn't able to animate values starting or stopping at 0." ] }, { "version_added": "20", "version_removed": "61", "notes": "Flex items that are sized according to their content are sized using fit-content, not max-content." }, { "prefix": "-webkit-", "version_added": "49" }, { "prefix": "-webkit-", "version_added": "44", "flags": [ { "type": "preference", "name": "layout.css.prefixes.webkit", "value_to_set": "true" } ] }, { "version_added": "18", "version_removed": "28", "flags": [ { "type": "preference", "name": "layout.css.flexbox.enabled", "value_to_set": "true" } ] } ], "ie": [ { "version_added": "11", "notes": [ "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." ] }, { "prefix": "-ms-", "version_added": "10", "notes": [ "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." ] } ], "opera": { "version_added": "12.1" }, "opera_android": { "version_added": "12.1" }, "safari": [ { "version_added": "9" }, { "prefix": "-webkit-", "version_added": "6.1" } ], "safari_ios": [ { "version_added": true }, { "prefix": "-webkit-", "version_added": "7.1" } ], "samsunginternet_android": { "version_added": null }, "webview_android": [ { "version_added": "4.4" }, { "prefix": "-webkit-", "version_added": true } ] }, "status": { "experimental": false, "standard_track": true, "deprecated": false } } } } } }