问题
Caniuse states partial support with the -ms- prefix http://caniuse.com/#search=flex-grow as far as I can understand
Yet, when testing -ms-flex-grow has no effect in IE10, what am I missing here?
回答1:
[ANSWER UPDATED on November 2017]
flex-grow only supports internet explorer 11+, no -ms- prefix. https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow
To find out what works for IE 10, use Autoprefixer
1 - Set filter to "ie 10"
2 - Type in CSS, for example:
.example {
flex-grow: 3;
}
3 - Autoprefixer result:
.example {
-ms-flex-positive: 3;
flex-grow: 3;
}
Now you know what prefix to use for IE 10
回答2:
The IE10 equivalent of flex-grow
is -ms-flex-positive
For example,
-ms-flex-positive: 1;
来源:https://stackoverflow.com/questions/32605593/is-there-a-flex-grow-for-ie10