迷茫2017-06-28 09:29:36
問題出在使用了step(2)
;
animation-timing-function改成step(1);
bg方法改成0%和50%;
.min-circle:nth-child(2n - 1) {
-webkit-animation: bg 2s steps(1) infinite;
animation: bg 2s steps(1) infinite;
}
@keyframes bg {
0% {
background: #ff3c18;
}
50% {
background: #ffea67;
}
}