先写规则
@keyframes eyshan{
0%{color:#fff;}
100%{color:#f00;}
}
@-webkit-keyframes eyshan{
0%{color:#fff;}
100%{color:#f00;}
}
然后调用规则
.ccc{
animation:eyshan .1s linear 1s infinite alternate;
-webkit-animantion:eyshan .1s linear 1s infinite alternate;
}