We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7280bdd commit 8a9b466Copy full SHA for 8a9b466
1 file changed
cyclists/css/style.css
@@ -32,13 +32,18 @@ canvas {
32
font-family: sans-serif;
33
text-align: center;
34
opacity: 1;
35
- animation: descendOut 15s ease-in-out 1s forwards; /* ✅ Waits 5s, then moves down over 10s */
+ animation: descendOut 15s ease-in-out forwards; /* ✅ No delay, smooth start */
36
z-index: 1;
37
}
38
39
@keyframes descendOut {
40
+ from {
41
+ opacity: 1;
42
+ transform: translateX(-50%) translateY(0); /* ✅ Start at the defined position */
43
+ }
44
to {
45
opacity: 0;
- transform: translateX(-50%) translateY(200px); /* ✅ Moves down slowly */
46
+ transform: translateX(-50%) translateY(200px); /* ✅ Moves down smoothly */
47
48
49
+
0 commit comments