Game
- Add fade at start of game
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user