Roc*_*ock 2 html css css-animations
我的动画在Firefox中不起作用; 它们淡入但不会像在Chrome中那样从外部滑入.我正在使用animate.css库来提供动画.
h2{
text-align:center;
}
span {
-webkit-animation-duration: 3s !important;
-moz-animation-duration: 3s !important;
-o-animation-duration: 3s !important;
animation-duration: 3s !important;
}
.dly {
-webkit-animation-delay: 2s !important;
-moz-animation-delay: 2s !important;
-o-animation-delay: 2s !important;
animation-delay: 2s !important;
}
Run Code Online (Sandbox Code Playgroud)
<div class="container">
<h2>
<span class="animated fadeInLeftBig">A</span>
<span class="dly animated bounceInDown"> B</span>
<span class="animated fadeInRightBig"> C</span>
</h2>
</div>
Run Code Online (Sandbox Code Playgroud)
他们为什么在Chrome中工作,但在Firefox中却没有?如何让它们在Firefox中运行?
| 归档时间: |
|
| 查看次数: |
4687 次 |
| 最近记录: |