What is the correct property for flex-wrap in IE10

2019-07-06 16:24发布

问题:

I am trying to use flex-wrap, but find it is not supported in IE10.

Is there any other flex property that could achieve the same result in IE10?

回答1:

All flex properties that work in IE10 can be found in Microsoft documentation:

  • Flexible box ("Flexbox") layout in Internet Explorer 10

For flex-wrap you would use -ms-flex-wrap.

Another option is to paste your code in the following tool, which automatically generates all the prefixes you need.

  • Autoprefixer