Spaces:
Running

File size: 2,602 Bytes
694552a
 
 
 
0fab95a
 
694552a
 
 
0fab95a
 
694552a
 
 
 
 
 
0fab95a
 
694552a
 
 
0fab95a
 
694552a
 
 
0fab95a
694552a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Keyframe animations for our pixel loaders */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes snake {
    0% { left: 6px; top: 6px; }
    25% { left: 26px; top: 6px; }
    50% { left: 26px; top: 26px; }
    75% { left: 6px; top: 26px; }
    100% { left: 6px; top: 6px; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes march {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(10px) translateY(10px); }
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rain {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(20px); opacity: 1; }
}

@keyframes flip {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(20px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

/* Apply animations to our loaders */
#loader1 .pixel {
    animation: bounce 1s infinite;
}

#loader2 .pixel {
    animation: pulse 1s infinite;
}

#loader3 .pixel:nth-child(1) { animation: snake 2s infinite; }
#loader3 .pixel:nth-child(2) { animation: snake 2s infinite 0.5s; }
#loader3 .pixel:nth-child(3) { animation: snake 2s infinite 1s; }
#loader3 .pixel:nth-child(4) { animation: snake 2s infinite 1.5s; }

#loader4 {
    animation: spin 2s linear infinite;
}

#loader5 .pixel {
    animation: march 1s infinite alternate;
}

#loader6 .pixel:nth-child(1) { animation: wave 1s infinite 0s; }
#loader6 .pixel:nth-child(2) { animation: wave 1s infinite 0.2s; }
#loader6 .pixel:nth-child(3) { animation: wave 1s infinite 0.4s; }
#loader6 .pixel:nth-child(4) { animation: wave 1s infinite 0.6s; }
#loader6 .pixel:nth-child(5) { animation: wave 1s infinite 0.8s; }

#loader7 .pixel:nth-child(1) { animation: rain 1s infinite 0s; }
#loader7 .pixel:nth-child(2) { animation: rain 1s infinite 0.2s; }
#loader7 .pixel:nth-child(3) { animation: rain 1s infinite 0.4s; }

#loader8 .pixel {
    animation: flip 1.5s infinite;
}

#loader9 .pixel {
    animation: orbit 2s linear infinite;
}

#loader10 {
    animation: heartbeat 1.5s infinite;
}