- Add fade at start of game
This commit is contained in:
Kum1ta
2024-09-08 17:07:16 +02:00
parent 6c6ad4e395
commit 6a9fedd9e2
3 changed files with 27 additions and 11 deletions

View File

@ -6,7 +6,7 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/20 11:23:41 by edbernar #+# #+# */
/* Updated: 2024/09/03 18:19:30 by edbernar ### ########.fr */
/* Updated: 2024/09/08 17:04:41 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -28,6 +28,18 @@
}
}
@keyframes fadeOutStart {
0% {
filter: brightness(0);
}
70% {
filter: brightness(0);
}
100% {
filter: brightness(1);
}
}
@keyframes fadeInText {
from {
color: rgb(255, 255, 255, 0.1);
@ -51,7 +63,7 @@ body {
padding: 0;
width: 100%;
height: 100%;
user-select: none;
}
#score {