-
Notifications
You must be signed in to change notification settings - Fork 0
/
animation.css
160 lines (141 loc) · 2.77 KB
/
animation.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
/* leg animations */
@keyframes left-leg-animation {
0%{
transform: rotateZ(25deg);
}
100%{
transform: rotateZ(-25deg);
}
}
@keyframes right-leg-animation {
0%{
transform: rotateZ(-25deg);
}
100%{
transform: rotateZ(25deg);
}
}
/* body animation */
@keyframes stickman-animation-1 {
0%{
left:50px;
}
100%{
left:600px;
}
}
@keyframes stickman-animation-2 {
0%{
left:600px;
}
100%{
left:-150px;
}
}
@keyframes stickman-animation-3 {
0%{
left:1400px;
}
100%{
left:300px;
}
}
@keyframes stickman-animation-4 {
0%{
left:300px;
}
100%{
left:1400px;
}
}
@keyframes stickwoman-animation-1 {
0%{
right:400px;
}
100%{
right:-150px;
}
}
@keyframes rose-animation {
0%{
top: 67px;
}
100%{
top: 270px;
}
}
@keyframes thunder-animation {
0%,10%,12%,50%,53%,60%,64%,80%{
background-image: linear-gradient(rgb(0, 0, 0),black);
}
11%,52%,61%,63%{
background-image: linear-gradient(white,black);
}
}
@keyframes programmer-animation-1 {
0%{
left:1400px;
}
100%{
left:1100px;
}
}
@keyframes programmer-animation-2 {
0%{
left:1100px;
}
100%{
left:500px;
}
}
@keyframes programmer-animation-3 {
0%{
left:500px;
}
100%{
left:1500px;
}
}
/* animations */
.stickman-animation-1 {
animation: stickman-animation-1 17s linear 1 forwards;
}
.stickman-animation-2 {
animation: stickman-animation-2 15s linear 1 forwards;
}
.stickman-animation-3 {
animation: stickman-animation-3 20s linear 1 forwards;
}
.stickman-animation-4 {
animation: stickman-animation-4 15s linear 1 forwards;
}
.programmer-animation-1{
animation: programmer-animation-1 3s linear 1 forwards;
}
.programmer-animation-2{
animation: programmer-animation-2 5s linear 1 forwards;
}
.programmer-animation-3{
animation: programmer-animation-3 15s linear 1 forwards;
}
.right-leg-animation {
animation: right-leg-animation 2s linear alternate infinite;
}
.left-leg-animation {
animation: left-leg-animation 2s linear alternate infinite;
}
.right-leg-fast-animation {
animation: right-leg-animation 1s linear alternate infinite;
}
.left-leg-fast-animation {
animation: left-leg-animation 1s linear alternate infinite;
}
.stickwoman-move-forward {
animation: stickwoman-animation-1 7s linear 1 forwards;
}
.rose-animation {
animation: rose-animation 5s linear 1 forwards;
}
.thunder-animation {
animation: thunder-animation 1s linear alternate infinite;
}