1- * {
1+ * {
22 margin : 0 ;
33 padding : 0 ;
4+ box-sizing : border-box;
45}
5- .container {
6+
7+ body , html {
8+ height : 100% ;
9+ width : 100% ;
10+ overflow : hidden;
11+ font-family : 'Georgia' , sans-serif;
12+ }
13+
14+ .container {
615 display : flex;
7- flex-direction : column;
816 justify-content : center;
917 align-items : center;
1018 height : 100vh ;
1119 width : 100vw ;
20+ background : linear-gradient (# ade8f4, # 90e0ef );
21+ overflow : hidden;
1222}
1323
14- .loading-page {
24+ .loading-page {
1525 display : flex;
16- position : absolute ;
26+ flex-direction : column ;
1727 align-items : center;
1828 justify-content : center;
19- background-color : greenyellow;
20- height : 100vh ;
21- width : 100vw ;
22- z-index : 10 ;
29+ text-align : center;
30+ gap : 30px ;
31+ }
32+
33+ .spinner {
34+ width : 80px ;
35+ height : 80px ;
36+ border-radius : 50% ;
37+ border : 4px dashed rgba (0 , 131 , 212 );
38+ border-top-color : rgba (0 , 131 , 212 );
39+ animation : spin 10s linear infinite;
40+ margin-bottom : 30px ;
41+ position : relative;
2342}
2443
25- .loading-page h1 ::after {
44+ @keyframes spin {
45+ 0% { transform : rotate (0deg ); }
46+ 100% { transform : rotate (360deg ); }
47+ }
48+
49+ .loading-page h1 {
50+ font-size : 70px ;
51+ color : rgba (0 , 131 , 212 , 0.7 );
52+ }
53+
54+ .loading-page h1 ::after {
2655 content : "" ;
27- color : darkgreen ;
28- animation : 2 s loadingAnim ease-out infinite ;
56+ animation : loadingAnim 2 s steps ( 4 ) infinite ;
57+ position : absolute ;
2958}
3059
3160@keyframes loadingAnim {
32- 0% {
33- content : "" ;
34- }
35-
36- 33% {
37- content : "." ;
38- }
39- 66% {
40- content : ".." ;
41- }
42- 100% {
43- content : "..." ;
44- }
45- }
46-
47- .loading-page h1 {
48- font-size : 80px ;
49- color : rgba (0 , 0 , 0 , 0.6 );
50- font-style : oblique;
61+ 0% { content : "" ; }
62+ 25% { content : "." ; }
63+ 50% { content : ".." ; }
64+ 75% { content : "..." ; }
65+ 100% { content : "" ; }
66+ }
67+
68+ .container ::before ,
69+ .container ::after {
70+ content : "" ;
71+ position : absolute;
72+ width : 400px ;
73+ height : 400px ;
74+ border-radius : 50% ;
75+ filter : blur (100px );
76+ animation : float 6s ease-in-out infinite alternate;
77+ z-index : 0 ;
78+ }
79+
80+ .container ::before {
81+ background : # 48cae4 ;
82+ top : -100px ;
83+ left : -100px ;
84+ }
85+
86+ .container ::after {
87+ background : # 48cae4 ;
88+ bottom : -100px ;
89+ right : -100px ;
90+ animation-delay : 3s ;
91+ }
92+
93+ @keyframes float {
94+ 0% { transform : translate (0 , 0 ); }
95+ 100% { transform : translate (30px , -30px ); }
5196}
0 commit comments