2022-10-03 08:54:08 +00:00
|
|
|
@keyframes timeout-hide {
|
2022-10-03 08:42:02 +00:00
|
|
|
0% { }
|
2022-10-03 08:54:08 +00:00
|
|
|
99% { }
|
2022-10-03 08:42:02 +00:00
|
|
|
100% {
|
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2022-10-03 08:18:32 +00:00
|
|
|
}
|
|
|
|
|
2022-10-03 08:54:08 +00:00
|
|
|
@keyframes timeout-show {
|
2022-10-03 08:42:02 +00:00
|
|
|
0% {
|
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2022-10-03 08:54:08 +00:00
|
|
|
99% {
|
2022-10-03 08:42:02 +00:00
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
100% { }
|
2022-10-03 08:18:32 +00:00
|
|
|
}
|
|
|
|
|
2022-10-03 08:42:02 +00:00
|
|
|
.swap-child > *:nth-child(1) {
|
2022-10-03 08:54:08 +00:00
|
|
|
animation: timeout-hide 10s linear 0s 1 normal forwards;
|
2022-10-03 08:42:02 +00:00
|
|
|
overflow: hidden;
|
2022-10-03 08:18:32 +00:00
|
|
|
}
|
2022-10-03 08:42:02 +00:00
|
|
|
.swap-child > *:nth-child(2) {
|
2022-10-03 08:54:08 +00:00
|
|
|
animation: timeout-show 10s linear 0s 1 normal forwards;
|
2022-10-03 08:42:02 +00:00
|
|
|
overflow: hidden;
|
2022-10-03 08:18:32 +00:00
|
|
|
}
|