【问题标题】:CSS transitions not working in IE-11CSS 过渡在 IE-11 中不起作用
【发布时间】:2017-06-07 13:58:03
【问题描述】:

我有一个场景应该发生按钮点击转换

transition-property: top, left;
transition-duration: 10s;
transition-delay: 0s;
-webkit-transition-property: top, left;
-webkit-transition-duration: 2s;
-webkit-transition-delay: 0s;
-moz-transition-property: top, left;
-moz-transition-duration: 2s;
-moz-transition-delay: 0s;
-ms-transition-property: top, left;
-ms-transition-duration: 2s;
-ms-transition-delay: 0s;
transition-timing-function: ease;

这些是已应用的过渡。在 chrome 浏览器中它运行良好,但在 IE-11 中尝试时未应用过渡。

任何帮助将不胜感激。

【问题讨论】:

  • 请添加正确的代码或工作小提琴。
  • 您的元标记: ?????

标签: javascript css internet-explorer css-transitions


【解决方案1】:

如果您有任何元标记,请检查您的元标记是否与 <meta http-equiv="X-UA-Compatible" content="IE=9;IE=10;IE=Edge,chrome=1"/> 在不一样的检查它。谢谢。

【讨论】:

  • 我有一个元标记,例如:
  • 请重新编写并检查:
猜你喜欢
  • 1970-01-01
  • 2013-11-19
  • 1970-01-01
  • 1970-01-01
  • 2012-01-24
  • 2016-05-30
  • 2015-12-01
  • 2012-09-27
相关资源
最近更新 更多