- creater loader at the first launch
    - optimize loader
This commit is contained in:
Kum1ta
2024-09-30 01:24:32 +02:00
parent 76cf5d0585
commit 43c293c469
11 changed files with 178 additions and 72 deletions

View File

@ -0,0 +1,45 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* loading.css :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/30 00:34:36 by edbernar #+# #+# */
/* Updated: 2024/09/30 00:50:11 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
#loadingDiv {
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
flex-direction: column;
color: white;
}
#loadingDiv h1 {
padding: 0;
padding-top: 4px;
font-size: 35px;
color: white;
font-family: 'Poppins';
font-style: italic;
font-weight: bold;
}
#loadingDiv .loading {
width: 80%;
height: 10px;
background-color: #fff;
border-radius: 5px;
}
#loadingDiv .loading .loading-bar {
width: 0%;
height: 100%;
background-color: rgb(56, 106, 18);
border-radius: 5px;
}