mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
39 lines
671 B
HTML
39 lines
671 B
HTML
<div class="loader"></div>
|
|
<style>
|
|
/* From Uiverse.io by mrhyddenn - Tags: gradient, loader, spinner */
|
|
.loader {
|
|
position: relative;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.loader::before,
|
|
.loader::after {
|
|
content: "";
|
|
position: absolute;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.loader::before {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: linear-gradient(0deg, #ff00cc 0%, #333399 100%);
|
|
animation: load012323 .5s infinite linear;
|
|
}
|
|
|
|
.loader::after {
|
|
width: 85%;
|
|
height: 85%;
|
|
background-color: #222;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
@keyframes load012323 {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
</style>
|