html - CSS3 moz-kit 动画

标签 html css

我有一个可以在 Chrome 中运行的 CSS3 动画

 .circle-label-rotate {
                -webkit-animation-name: rotateThis;
                -webkit-animation-duration:.5s;
                -webkit-animation-iteration-count:infinite;
                -webkit-animation-timing-function:linear;
            }

现在,这在 Mozilla Firefox 上如何工作——我想使用 keyframes 。但我不断收到错误。您将如何执行上述代码的 Firefox 等效操作?

我已经尝试过这个:

-moz-animation-duration: 3s;
-webkit-animation-duration: 3s;
-moz-animation-name: slidein;
-webkit-animation-name: slidein;

最佳答案

添加-moz-前缀。

-moz-animation-name: rotateThis;
-moz-animation-duration:.5s;
-moz-animation-iteration-count:infinite;  
-moz-animation-timing-function:linear;

@-moz-keyframes rotateThis 
{ Some css. }

关于html - CSS3 moz-kit 动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11043614/

相关文章:

html - 叠加效果不适用于背景

html - 如何修复页面顶部和页眉的空格?

javascript - 单击太快时脚本滞后 [jQuery]

jquery - 打破每个字符的输入字符串分隔输入

java - 如何使用java下载完整的网页而不用 " "替换部分HTML代码?

html - 为什么我在 Google Chrome 的导航栏中看到 Logo 的轮廓?

JavaScript/jQuery : Offset a <DIV> based on another <DIV> height after page load

css - 光标 :pointer and text align

html - 在特定窗口宽度处向左浮动中断

html - Foundation for Emails Inliner 工具破坏布局