added better animation closing event
This commit is contained in:
parent
3d808f7c39
commit
00dde8bd66
@ -81,15 +81,25 @@ $price_sum = $_POST["kosten"];
|
|||||||
animation: scroll 60s linear 3s;
|
animation: scroll 60s linear 3s;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
}
|
|
||||||
|
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
}
|
||||||
|
/* Bestimmt die Länge des Wegs, welches die Plane zurücklegt */
|
||||||
|
/* Hier 350% */
|
||||||
@keyframes scroll {
|
@keyframes scroll {
|
||||||
0% {
|
0% {
|
||||||
top: 100%;
|
top: 100%;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
90% {
|
||||||
|
top: -100%;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
top: -150%;
|
top: -100%;
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user