0
我有以下CSS3规则在Firefox CSS3关键帧动画不能正常工作
#sun, #sun div {
position:absolute;
border-radius:1000px;
-webkit-border-radius:1000px;
-moz-border-radius:1000px;
-ms-border-radius:1000px;
-o-border-radius:1000px;
animation:sunrise 3.2s ease 0 infinite alternate;
-webkit-animation:sunrise 3.2s ease 0 infinite alternate;
-moz-animation:sunrise 3.2s ease 0 infinite alternate;
-ms-animation:sunrise 3.2s ease 0 infinite alternate;
-o-animation:sunrise 3.2s ease 0 infinite alternate;
}
@-moz-keyframes sunrise {
0% {background:rgba(255,255,204,.23);}
75% { background:rgba(255,255,204,0.5); }
100% { background:''; }
}
然而,Firefox的实施似乎并没有工作。 背景颜色全部以rgba格式设置 但每个#sun
格具有不同的颜色。
可能是什么问题?
ok gothca!我只是试图抓住所有低端浏览器。至于背景是'';每个div具有不同的背景颜色......所以它们都混合成一种颜色,但是恢复为各自不同的默认颜色,因此背景不同:'' – Kendall 2013-03-23 01:21:53