fix falling neofox
This commit is contained in:
parent
1211ab1740
commit
cb481a7423
1 changed files with 8 additions and 7 deletions
|
@ -16,7 +16,7 @@ body {
|
|||
display: flex;
|
||||
background: black;
|
||||
color: white;
|
||||
position:absolute;
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
|
@ -35,15 +35,16 @@ body {
|
|||
}
|
||||
|
||||
.fadeout {
|
||||
animation-name: fadeout;
|
||||
animation-duration: 1000ms;
|
||||
animation-fill-mode: forwards;
|
||||
animation-name: fadeout;
|
||||
animation-duration: 1000ms;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
@keyframes fadeout {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
|
@ -159,10 +160,10 @@ a img {
|
|||
|
||||
@keyframes fall {
|
||||
0% {
|
||||
transform: translateY(0) rotate(0);
|
||||
transform: translateY(-50vh) rotate(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(200vh) rotate(180deg);
|
||||
transform: translateY(150vh) rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue