IE10有flex-grow吗? [英] Is there a flex-grow for IE10?
问题描述
Caniuse用-ms-前缀表示部分支持 http://caniuse.com/#search= flex-grow 据我所知
但是,当测试-ms-flex-grow在IE10中没有效果时,我在这里错过了什么?
[ANSWER更新于2017年11月]
柔性生长只支持Internet Explorer 11+,没有-ms-前缀。 https://developer.mozilla.org/en-US/ docs / Web / CSS / flex-grow
要了解IE 10的工作原理,请使用 Autoprefixer
将过滤器设置为ie 10
键入CSS,例如:
.example {
flex-grow:3;
$ b Autoprefixer结果:
.example {
-ms-flex-positive:3;
flex-grow:3;
$ / code>
现在你知道IE 10的前缀了吗? $ b
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?
解决方案 [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
Set filter to "ie 10"
Type in CSS, for example:
.example {
flex-grow: 3;
}
Autoprefixer result:
.example {
-ms-flex-positive: 3;
flex-grow: 3;
}
Now you know what prefix to use for IE 10
这篇关于IE10有flex-grow吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!