如何使 CSS calc 函数在 IE9 中使用负数?
How can I make CSS calc function work in IE9 with negative numbers?
我试过以下方法:
-ms-transform: translateY(calc(-100% - 70px));
-ms-transform: translateY(calc(- 100% - 70px));
-ms-transform: translateY(calc(0 - 100% - 70px));
-ms-transform: translateY(calc(0px - 70px - 100%));
None 其中的内容被 IE9 拾取。知道如何让它在 IE9 中工作吗?适用于 Chrome 和其他现代浏览器。
caniuse 报告:
IE10 and IE11 don't support using calc() inside a transform.
查看 official bug report at MS IE trac(似乎在 Edge 上工作)
我试过以下方法:
-ms-transform: translateY(calc(-100% - 70px));
-ms-transform: translateY(calc(- 100% - 70px));
-ms-transform: translateY(calc(0 - 100% - 70px));
-ms-transform: translateY(calc(0px - 70px - 100%));
None 其中的内容被 IE9 拾取。知道如何让它在 IE9 中工作吗?适用于 Chrome 和其他现代浏览器。
caniuse 报告:
IE10 and IE11 don't support using calc() inside a transform.
查看 official bug report at MS IE trac(似乎在 Edge 上工作)