Is there a flex-grow for IE10?

时光怂恿深爱的人放手 提交于 2019-12-05 16:38:33

[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

The IE10 equivalent of flex-grow is -ms-flex-positive

For example,

-ms-flex-positive: 1;
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!