-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimations.css
More file actions
55 lines (46 loc) · 1.58 KB
/
Copy pathanimations.css
File metadata and controls
55 lines (46 loc) · 1.58 KB
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
/* css/animations.css
─────────────────────────────────
All keyframe animations.
───────────────────────────────── */
@keyframes orb-a {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(40px, 60px) scale(1.08); }
100% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes orb-b {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(-30px, -40px) scale(1.06); }
100% { transform: translate(20px, 10px) scale(0.97); }
}
@keyframes scan {
0% { top: 0%; }
100% { top: 100%; }
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.2; }
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: .35; transform: scale(0.7); }
}
@keyframes fade-up {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* Page load stagger */
.hero-section { animation: fade-up .6s var(--ease-spring) both; }
.canvas-section { animation: fade-up .6s var(--ease-spring) .1s both; }
.result-section { animation: fade-up .6s var(--ease-spring) .2s both; }
.train-panel { animation: fade-up .6s var(--ease-spring) .3s both; }
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}