added better animation closing event

This commit is contained in:
camill 2025-12-02 18:13:53 +01:00
parent 3d808f7c39
commit 00dde8bd66

View File

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