LoadingScreen.css
⎇
Raw
1.loading-screen {
2 display: flex;
3 flex-direction: column;
4 align-items: center;
5 position: absolute;
6 width: 100%;
7 height: 100%;
8 padding: 2rem;
9 background: rgba(0, 0, 0, 0.5);
10 gap: 1rem;
11
12 span {
13 height: 100%;
14 align-content: end;
15 }
16}
17
18.loading-spinner-wrapper {
19 display: flex;
20 width: 100%;
21 height: 100%;
22 .loading-spinner {
23 width: 50px;
24 height: 50px;
25 animation: spin 1s linear infinite;
26 display: flex;
27 & > svg {
28 width: 100%;
29 height: 100%;
30 }
31 }
32}
33@keyframes spin {
34 0% {
35 transform: rotate(0deg);
36 }
37
38 100% {
39 transform: rotate(360deg);
40 }
41}
42