Why does only one of these @-webkit-keyframes declarations fail?
Posted
by
Alex Ford
on Stack Overflow
See other posts from Stack Overflow
or by Alex Ford
Published on 2011-02-14T20:51:14Z
Indexed on
2011/02/14
23:25 UTC
Read the original article
Hit count: 188
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;
}
}
© Stack Overflow or respective owner