flex
Read More at MDN DocsView SpecSafe to Use
flex
is considered safe to use.
It’s supported by 94% of global browsers.
Browsers
Version Breakdown
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
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
.
Implemented with the vendor prefix: -webkit-
Full Support
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.
Implemented with the vendor prefix: -webkit-
Full Support
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.
Implemented with the vendor prefix: -ms-
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.
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Full Support
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Implemented with the vendor prefix: -webkit-