【问题标题】:Keyframes with jquery not working in opera带有 jquery 的关键帧在歌剧中不起作用
【发布时间】:2013-04-26 00:19:10
【问题描述】:
$.fn.addKeyframe([{
        name: "spinrd",
        "from": tr + ':rotate(' + (rX1 + 0) + 'deg);',
        "to": tr + ':rotate(' + (rX1 + 360) + 'deg);',
    }]);

我有这个代码的序列,它在 firefox chrome 和 ie10 中运行良好,而在 opera 中不运行。

这是jquery插件https://github.com/krazyjakee/jQuery-Keyframes

【问题讨论】:

    标签: jquery opera css-animations


    【解决方案1】:

    查看 keyframes jquery 插件的代码可能是前缀无法正常工作,因为该插件使用嗅探。我用 Modernizr 解决了不同的场景。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-07-23
      • 1970-01-01
      • 1970-01-01
      • 2011-12-04
      • 2012-11-29
      • 1970-01-01
      • 2015-03-04
      • 1970-01-01
      相关资源
      最近更新 更多