css3 animation最多能写几个动画属性
.fall1{-moz-animation:fallDown.5slinearforwards,fall1.5s.6slinearforwards,topAndDownl...
.fall1{
-moz-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-ms-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-webkit-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
}
这有三个动画,除了ie11,其它现代浏览器都能顺利执行以上三个动画,前缀都加了但到了ie11就不能执行第二个动画(即fall1,不是动画名和duration的原因) 是不是ie11有什么需要注意的地方?急!! 展开
-moz-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-ms-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-webkit-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
}
这有三个动画,除了ie11,其它现代浏览器都能顺利执行以上三个动画,前缀都加了但到了ie11就不能执行第二个动画(即fall1,不是动画名和duration的原因) 是不是ie11有什么需要注意的地方?急!! 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
2个回答
展开全部
将animation的属性分开写,一起写的话IE11会不生效
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
把animation放在最上面
.fall1{
animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-moz-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-ms-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-webkit-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
}
.fall1{
animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-moz-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-ms-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
-webkit-animation:fallDown .5s linear forwards,fall1 .5s .6s linear forwards,topAndDown linear 1s 1.1s infinite alternate;
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询