mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
56 lines
933 B
HTML
56 lines
933 B
HTML
<div class="loader"></div>
|
|
<style>
|
|
/* From Uiverse.io by mrhyddenn - Tags: loader */
|
|
.loader {
|
|
position: relative;
|
|
transform: scale(2);
|
|
border-radius: 50%;
|
|
border: 1px solid;
|
|
width: 30px;
|
|
height: 30px;
|
|
color: white;
|
|
}
|
|
|
|
.loader::after {
|
|
position: absolute;
|
|
width: 0px;
|
|
height: 10px;
|
|
display: block;
|
|
border-left: 1px solid #fff;
|
|
content: '';
|
|
left: 14px;
|
|
border-radius: 1px;
|
|
top: 4px;
|
|
animation-duration: 1s;
|
|
}
|
|
|
|
.loader::before {
|
|
position: absolute;
|
|
width: 0px;
|
|
height: 10px;
|
|
display: block;
|
|
border-left: 1px solid #fff;
|
|
content: '';
|
|
left: 14px;
|
|
border-radius: 1px;
|
|
top: 4px;
|
|
animation-duration: 40s;
|
|
}
|
|
|
|
.loader::before,.loader::after {
|
|
transform-origin: bottom;
|
|
animation-name: dial;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
}
|
|
|
|
@keyframes dial {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
</style>
|