Why does only one of these @-webkit-keyframes declarations fail?
- by Alex Ford
I have two -webkit-keyframes declarations (see below). blink2 works fine. blink does nothing. What's the deal? Is there a limit to the number of keyframes that can be declared?
@-webkit-keyframes blink {
0% {
opacity:1;
}
40% {
opacity:1;
}
50% {
opacity:.5;
}
90% {
opacity:1;
}
99% {
opacity:1;
}
}
@-webkit-keyframes blink2 {
0% {
opacity:1;
}
50% {
opacity:.25;
}
100% {
opacity:1;
}
}