mirror of
https://github.com/recloudstream/website.git
synced 2024-08-15 03:18:45 +00:00
improve and extend the timeout
This commit is contained in:
parent
f3fdeb3543
commit
261efde164
1 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
@keyframes five-s-hide {
|
@keyframes timeout-hide {
|
||||||
0% { }
|
0% { }
|
||||||
80% { }
|
99% { }
|
||||||
100% {
|
100% {
|
||||||
height: 0;
|
height: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -8,13 +8,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes five-s-show {
|
@keyframes timeout-show {
|
||||||
0% {
|
0% {
|
||||||
height: 0;
|
height: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
80% {
|
99% {
|
||||||
height: 0;
|
height: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -23,10 +23,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.swap-child > *:nth-child(1) {
|
.swap-child > *:nth-child(1) {
|
||||||
animation: five-s-hide 5s linear 0s 1 normal forwards;
|
animation: timeout-hide 10s linear 0s 1 normal forwards;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.swap-child > *:nth-child(2) {
|
.swap-child > *:nth-child(2) {
|
||||||
animation: five-s-show 5s linear 0s 1 normal forwards;
|
animation: timeout-show 10s linear 0s 1 normal forwards;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
Loading…
Reference in a new issue