问题
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
来源:https://stackoverflow.com/questions/37687667/what-is-the-correct-property-for-flex-wrap-in-ie10