Not possible to use CSS calc() with transform:translateX in IE
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: All, I would like to be able to use calc() with transform:translateX in my CSS. E.g., #myDiv { -webkit-transform: translateX(calc(100% - 50px)); -moz-transform: translateX(calc(100% - 50px)); transform: translateX(calc(100% - 50px)); } While this works perfectly in Chrome, Safari, and Firefox - it does not work in IE10 or IE11. You can see a simple example here: http://jsfiddle.net/SL2mk/9/ Is this impossible? Is it a bug in IE, or is calc() not supposed to work in this context? For what it's worth - I read here that you can "stack"