-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss_animation_keyframes.css
226 lines (226 loc) · 7.94 KB
/
css_animation_keyframes.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
/* appearance */
@keyframes appearance_top_left {
0% {opacity:0; left:0px; top:0px;}
100% {opacity:1; left:0px; top:0px;}
}
@keyframes appearance_top_center {
0% {opacity:0; left:calc(50% - 25px); top:0px;}
100% {opacity:1; left:calc(50% - 25px); top:0px;}
}
@keyframes appearance_top_right {
0% {opacity:0; left:calc(100% - 50px); top:0px;}
100% {opacity:1; left:calc(100% - 50px); top:0px;}
}
@keyframes appearance_middle_left {
0% {opacity:0; left:0px; top:calc(50% - 25px);}
100% {opacity:1; left:0px; top:calc(50% - 25px);}
}
@keyframes appearance_middle_center {
0% {opacity:0; left:calc(50% - 25px); calc(50% - 25px);}
100% {opacity:1; left:calc(50% - 25px); calc(50% - 25px);}
}
@keyframes appearance_middle_right {
0% {opacity:0; left:calc(100% - 50px); top:calc(50% - 25px);}
100% {opacity:1; left:calc(100% - 50px); top:calc(50% - 25px);}
}
/* disappearance */
@keyframes disappearance_top_left {
0% {opacity:1; left:0px; top:0px;}
100% {opacity:0; left:0px; top:0px;}
}
@keyframes disappearance_top_center {
0% {opacity:1; left:calc(50% - 25px); top:0px;}
100% {opacity:0; left:calc(50% - 25px); top:0px;}
}
@keyframes disappearance_top_right {
0% {opacity:1; left:calc(100% - 50px); top:0px;}
100% {opacity:0; left:calc(100% - 50px); top:0px;}
}
@keyframes disappearance_middle_left {
0% {opacity:1; left:0px; top:calc(50% - 25px);}
100% {opacity:0; left:0px; top:calc(50% - 25px);}
}
@keyframes disappearance_middle_center {
0% {opacity:1; left:calc(50% - 25px); calc(50% - 25px);}
100% {opacity:0; left:calc(50% - 25px); calc(50% - 25px);}
}
@keyframes disappearance_middle_right {
0% {opacity:1; left:calc(100% - 50px); top:calc(50% - 25px);}
100% {opacity:0; left:calc(100% - 50px); top:calc(50% - 25px);}
}
/* set #0 */
@keyframes vertical {
0% {left:calc(50% - 25px); top:0px;}
50% {left:calc(50% - 25px); top:calc(100% - 50px);}
100% {left:calc(50% - 25px); top:0px;}
}
@keyframes horizontal {
0% {left:0px; top:calc(50% - 25px);}
50% {left:calc(100% - 50px); top:calc(50% - 25px);}
100% {left:0px; top:calc(50% - 25px);}
}
@keyframes diagonal_left {
0% {left:0px; top:0px;}
50% {left:calc(100% - 50px); top:calc(100% - 50px);}
100% {left:0px; top:0px;}
}
@keyframes diagonal_right {
0% {left:calc(100% - 50px); top:0px;}
50% {left:0px; top:calc(100% - 50px);}
100% {left:calc(100% - 50px); top:0px;}
}
@keyframes rhomb_left {
0% {left:0px; top:calc(50% - 25px);}
25% {left:calc(50% - 25px); top:0px;}
50% {left:calc(100% - 50px); top:calc(50% - 25px);}
75% {left:calc(50% - 25px); top:calc(100% - 50px);}
100% {left:0px; top:calc(50% - 25px);}
}
@keyframes rhomb_right {
0% {left:calc(100% - 50px); top:calc(50% - 25px);}
25% {left:calc(50% - 25px); top:0px;}
50% {left:0px; top:calc(50% - 25px);}
75% {left:calc(50% - 25px); top:calc(100% - 50px);}
100% {left:calc(100% - 50px); top:calc(50% - 25px);}
}
/* set #1 */
@keyframes rectangle_left {
0% {left:0px; top:0px;}
30% {left:calc(100% - 50px); top:0px;}
50% {left:calc(100% - 50px); top:calc(100% - 50px);}
80% {left:0px; top:calc(100% - 50px);}
100% {left:0px; top:0px;}
}
@keyframes rectangle_right {
0% {left:calc(100% - 50px); top:0px;}
30% {left:0px; top:0px;}
50% {left:0px; top:calc(100% - 50px);}
80% {left:calc(100% - 50px); top:calc(100% - 50px);}
100% {left:calc(100% - 50px); top:0px;}
}
@keyframes sandclock_left {
0% {left:0px; top:0px;}
23% {left:calc(100% - 50px); top:0px;}
50% {left:0px; top:calc(100% - 50px);}
73% {left:calc(100% - 50px); top:calc(100% - 50px);}
100% {left:0px; top:0px;}
}
@keyframes sandclock_right {
0% {left:calc(100% - 50px); top:0px;}
23% {left:0px; top:0px;}
50% {left:calc(100% - 50px); top:calc(100% - 50px);}
73% {left:0px; top:calc(100% - 50px);}
100% {left:calc(100% - 50px); top:0px;}
}
@keyframes butterfly_left {
0% {left:0px; top:0px;}
30% {left:calc(100% - 50px); top:calc(100% - 50px);}
50% {left:calc(100% - 50px); top:0px;}
80% {left:0px; top:calc(100% - 50px);}
100% {left:0px; top:0px;}
}
@keyframes butterfly_right {
0% {left:calc(100% - 50px); top:0px;}
20% {left:calc(100% - 50px); top:calc(100% - 50px);}
50% {left:0px; top:0px;}
70% {left:0px; top:calc(100% - 50px);}
100% {left:calc(100% - 50px); top:0px;}
}
/* set #2 */
@keyframes chess_left {
0% {left:0px; top:0px;}
15% {left:calc(50% - 25px); top:0px;}
35% {left:calc(50% - 25px); top:calc(100% - 50px);}
50% {left:calc(100% - 50px); top:calc(100% - 50px);}
65% {left:calc(100% - 50px); top:calc(50% - 25px);}
85% {left:0px; top:calc(50% - 25px);}
100% {left:0px; top:0px;}
}
@keyframes chess_right {
0% {left:calc(100% - 50px); top:0px;}
15% {left:calc(50% - 25px); top:0px;}
35% {left:calc(50% - 25px); top:calc(100% - 50px);}
50% {left:0px; top:calc(100% - 50px);}
65% {left:0px; top:calc(50% - 25px);}
85% {left:calc(100% - 50px); top:calc(50% - 25px);}
100% {left:calc(100% - 50px); top:0px;}
}
@keyframes triangle_left {
0% {left:0px; top:0px;}
15% {left:calc(100% - 50px); top:0px;}
35% {left:0px; top:calc(100% - 50px);}
50% {left:calc(100% - 50px); top:calc(100% - 50px);}
65% {left:calc(100% - 50px); top:0px;}
85% {left:0px; top:calc(100% - 50px);}
100% {left:0px; top:0px;}
}
@keyframes triangle_right {
0% {left:calc(100% - 50px); top:0px;}
15% {left:0px; top:0px;}
35% {left:calc(100% - 50px); top:calc(100% - 50px);}
50% {left:0px; top:calc(100% - 50px);}
65% {left:0px; top:0px;}
80% {left:calc(100% - 50px); top:calc(100% - 50px);}
100% {left:calc(100% - 50px); top:0px;}
}
/* set #3 */
@keyframes sight_left {
0% {left:0px; top:0px;}
8% {left:calc(50% - 25px); top:0px;}
16% {left:calc(50% - 25px); top:calc(100% - 50px);}
24% {left:0px; top:calc(100% - 50px);}
32% {left:0px; top:calc(50% - 25px);}
42% {left:calc(100% - 50px); top:calc(50% - 25px);}
50% {left:calc(100% - 50px); top:calc(100% - 50px);}
58% {left:calc(50% - 25px); top:calc(100% - 50px);}
66% {left:calc(50% - 25px); top:0px;}
74% {left:calc(100% - 50px); top:0px;}
82% {left:calc(100% - 50px); top:calc(50% - 25px);}
90% {left:0px; top:calc(50% - 25px);}
100% {left:0px; top:0px;}
}
@keyframes sight_right {
0% {left:calc(100% - 50px); top:0px;}
8% {left:calc(50% - 25px); top:0px;}
16% {left:calc(50% - 25px); top:calc(100% - 50px);}
24% {left:calc(100% - 50px); top:calc(100% - 50px);}
32% {left:calc(100% - 50px); top:calc(50% - 25px);}
42% {left:0px; top:calc(50% - 25px);}
50% {left:0px; top:calc(100% - 50px);}
58% {left:calc(50% - 25px); top:calc(100% - 50px);}
66% {left:calc(50% - 25px); top:0px;}
74% {left:0px; top:0px;}
82% {left:0px; top:calc(50% - 25px);}
92% {left:calc(100% - 50px); top:calc(50% - 25px);}
100% {left:calc(100% - 50px); top:0px;}
}
@keyframes corners_left {
0% {left:0px; top:0px;}
14% {left:calc(100% - 50px); top:calc(100% - 50px);}
25% {left:0px; top:calc(100% - 50px);}
39% {left:calc(100% - 50px); top:0px;}
50% {left:calc(100% - 50px); top:calc(100% - 50px);}
64% {left:0px; top:0px;}
75% {left:calc(100% - 50px); top:0px;}
89% {left:0px; top:calc(100% - 50px);}
100% {left:0px; top:0px;}
}
@keyframes corners_right {
0% {left:calc(100% - 50px); top:0px;}
14% {left:0px; top:calc(100% - 50px);}
25% {left:calc(100% - 50px); top:calc(100% - 50px);}
39% {left:0px; top:0px;}
50% {left:0px; top:calc(100% - 50px);}
64% {left:calc(100% - 50px); top:0px;}
75% {left:0px; top:0px;}
89% {left:calc(100% - 50px); top:calc(100% - 50px);}
100% {left:calc(100% - 50px); top:0px;}
}
/*
animation: vertical 4s 2s 16;
animation-name: vertical;
animation-duration: 4s;
animation-iteration-count: 16;
animation-direction: reverse;
animation-delay: 2s;
*/