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; } }