mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-27 20:50:21 +08:00
89 lines
1.6 KiB
HTML
89 lines
1.6 KiB
HTML
<div id="container">
|
|
<label class="loading-title">Loading ...</label>
|
|
<span class="loading-circle sp1">
|
|
<span class="loading-circle sp2">
|
|
<span class="loading-circle sp3"></span>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by zanina-yassine - Tags: loader */
|
|
#container {
|
|
width: 100px;
|
|
height: 125px;
|
|
margin: auto auto;
|
|
}
|
|
|
|
.loading-title {
|
|
display: block;
|
|
text-align: center;
|
|
font-size: 20;
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: bold;
|
|
padding-bottom: 15px;
|
|
color: #888;
|
|
}
|
|
|
|
.loading-circle {
|
|
display: block;
|
|
border-left: 5px solid;
|
|
border-top-left-radius: 100%;
|
|
border-top: 5px solid;
|
|
margin: 5px;
|
|
animation-name: Loader_611;
|
|
animation-duration: 1500ms;
|
|
animation-timing-function: linear;
|
|
animation-delay: 0s;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: normal;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.sp1 {
|
|
border-left-color: #F44336;
|
|
border-top-color: #F44336;
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.sp2 {
|
|
border-left-color: #FFC107;
|
|
border-top-color: #FFC107;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.sp3 {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-left-color: #8bc34a;
|
|
border-top-color: #8bc34a;
|
|
}
|
|
|
|
@keyframes Loader_611 {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
transform-origin: right bottom;
|
|
}
|
|
|
|
25% {
|
|
transform: rotate(90deg);
|
|
transform-origin: right bottom;
|
|
}
|
|
|
|
50% {
|
|
transform: rotate(180deg);
|
|
transform-origin: right bottom;
|
|
}
|
|
|
|
75% {
|
|
transform: rotate(270deg);
|
|
transform-origin: right bottom;
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
transform-origin: right bottom;
|
|
}
|
|
}
|
|
</style>
|