From 00dde8bd66eadcf1ba57916e7baa4c27e23b33d8 Mon Sep 17 00:00:00 2001 From: camill Date: Tue, 2 Dec 2025 18:13:53 +0100 Subject: [PATCH] added better animation closing event --- spacetaxi.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/spacetaxi.php b/spacetaxi.php index 9a6d028..d57eae0 100644 --- a/spacetaxi.php +++ b/spacetaxi.php @@ -81,15 +81,25 @@ $price_sum = $_POST["kosten"]; animation: scroll 60s linear 3s; position: absolute; top: 100%; - } + animation-fill-mode: forwards; + } + /* Bestimmt die Länge des Wegs, welches die Plane zurücklegt */ + /* Hier 350% */ @keyframes scroll { 0% { top: 100%; + opacity: 1; + } + + 90% { + top: -100%; + opacity: 1; } 100% { - top: -150%; + top: -100%; + opacity: 0; } }