Update animation

This is due to firefox having a weird bug, where when loading a page it lags the playing animation.
This commit is contained in:
Luke 2021-01-20 13:24:52 +01:00
parent 3ddfb0499b
commit 78d0269103

View file

@ -443,16 +443,15 @@ input:checked {
}
.notification {
position: absolute;
top: -100px;
animation: notification 0.5s forwards ease-in-out;
position: relative;
opacity: 0;
animation: notification 0.5s forwards ease-in;
animation-delay: 0.1s;
}
@keyframes notification {
100% {
position: relative;
top: 0;
opacity: 1;
}
}