Skip to content

Instantly share code, notes, and snippets.

@matthewpizza
Created November 3, 2011 16:10
Show Gist options
  • Save matthewpizza/1336902 to your computer and use it in GitHub Desktop.
Save matthewpizza/1336902 to your computer and use it in GitHub Desktop.
WebKit Keyframes
/* This: */
@-webkit-keyframes show {
from { top: -300px; }
to { top: 0; }
}
/* Or this: */
@-webkit-keyframes show {
0% { top: -300px; }
1% { top: -297px; }
2% { top: -294px; }
3% { top: -291px; }
4% { top: -288px; }
5% { top: -285px; }
6% { top: -282px; }
7% { top: -279px; }
8% { top: -276px; }
9% { top: -273px; }
10% { top: -270px; }
11% { top: -267px; }
12% { top: -264px; }
13% { top: -261px; }
14% { top: -258px; }
15% { top: -255px; }
16% { top: -252px; }
17% { top: -249px; }
18% { top: -256px; }
19% { top: -243px; }
20% { top: -240px; }
21% { top: -237px; }
22% { top: -234px; }
23% { top: -231px; }
24% { top: -228px; }
25% { top: -225px; }
26% { top: -222px; }
27% { top: -219px; }
28% { top: -216px; }
29% { top: -213px; }
30% { top: -210px; }
31% { top: -207px; }
32% { top: -204px; }
33% { top: -201px; }
34% { top: -198px; }
35% { top: -195px; }
36% { top: -192px; }
37% { top: -189px; }
38% { top: -186px; }
39% { top: -183px; }
40% { top: -180px; }
41% { top: -177px; }
42% { top: -174px; }
43% { top: -171px; }
44% { top: -168px; }
45% { top: -165px; }
46% { top: -162px; }
47% { top: -159px; }
48% { top: -156px; }
49% { top: -153px; }
50% { top: -150px; }
51% { top: -147px; }
52% { top: -144px; }
53% { top: -141px; }
54% { top: -138px; }
55% { top: -135px; }
56% { top: -132px; }
57% { top: -129px; }
58% { top: -126px; }
59% { top: -123px; }
60% { top: -120px; }
61% { top: -117px; }
62% { top: -114px; }
63% { top: -111px; }
64% { top: -108px; }
65% { top: -105px; }
66% { top: -102px; }
67% { top: -99px; }
68% { top: -96px; }
69% { top: -93px; }
70% { top: -90px; }
71% { top: -87px; }
72% { top: -84px; }
73% { top: -81px; }
74% { top: -78px; }
75% { top: -75px; }
76% { top: -72px; }
77% { top: -69px; }
78% { top: -66px; }
79% { top: -63px; }
80% { top: -60px; }
81% { top: -57px; }
82% { top: -54px; }
83% { top: -51px; }
84% { top: -48px; }
85% { top: -45px; }
86% { top: -42px; }
87% { top: -39px; }
88% { top: -36px; }
89% { top: -33px; }
90% { top: -30px; }
91% { top: -27px; }
92% { top: -24px; }
93% { top: -21px; }
94% { top: -18px; }
95% { top: -15px; }
96% { top: -12px; }
97% { top: -9px; }
98% { top: -6px; }
99% { top: -3px; }
100% { top: 0; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment