大家好,我正试图让这个工作。
来源:https ://github.com/daneden/animate.css/blob/master/animate.css
这是我的 JS 小提琴:http: //jsfiddle.net/DpVrZ/4/
$('#animatedText').addclass('animated fadeInLeft');
我不确定我在这里做错了什么。
我怀疑这可能是 webkit 问题。也许我应该改用 Moz。
任何输入都会非常感谢!
大家好,我正试图让这个工作。
来源:https ://github.com/daneden/animate.css/blob/master/animate.css
这是我的 JS 小提琴:http: //jsfiddle.net/DpVrZ/4/
$('#animatedText').addclass('animated fadeInLeft');
我不确定我在这里做错了什么。
我怀疑这可能是 webkit 问题。也许我应该改用 Moz。
任何输入都会非常感谢!
我解决了兄弟,在这里检查小提琴。请记住在执行 addClass 时在 html 代码中包含 jQuery:
我还将一些 webkits 更改为普通样式,例如:
animation-fill-mode: both;
至
-webkit-animation-fill-mode: both;
addClass 是 jQuery。我在小提琴中加载了 jQuery,但它不再工作了。而且,webkit 是一个供应商前缀,这使得 Chrome 官方不支持的一些 CSS3 效果可以工作。