Skip to content

Commit

Permalink
Merge pull request #15 from JohanGrims/feature-loader-2
Browse files Browse the repository at this point in the history
css loader
  • Loading branch information
JohanGrims authored Oct 12, 2024
2 parents 9338792 + 9154eb4 commit 274380c
Showing 1 changed file with 30 additions and 11 deletions.
41 changes: 30 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,41 @@
</head>
<body>
<div id="root">
<div
style="
display: flex;
justify-content: center;
align-items: center;
height: 100dvh;
width: 100dvw;
"
>
<mdui-circular-progress></mdui-circular-progress>
</div>
<div class="spinner"></div>
</div>
<style>
body {
padding: 0px;
margin: 0px;
}
.firebase-emulator-warning {
display: none;
}
.spinner {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #1f1b16;
}
.spinner::before {
content: "";
width: 50px;
height: 50px;
border-radius: 50%;
border: 5px solid #85735e;
border-top: 5px solid #f89e24;
animation: spin 1s linear infinite;
}
/* Add animation (spin) */
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<script type="module" src="/src/main.jsx"></script>
</body>
Expand Down

0 comments on commit 274380c

Please sign in to comment.