mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
68 lines
1.2 KiB
HTML
68 lines
1.2 KiB
HTML
<div class="container">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by terenceodonoghue - Tags: loader */
|
|
.container {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
border-radius: 50%;
|
|
height: 96px;
|
|
width: 96px;
|
|
animation: rotate_3922 1.2s linear infinite;
|
|
background-color: #9b59b6;
|
|
background-image: linear-gradient(#9b59b6, #84cdfa, #5ad1cd);
|
|
}
|
|
|
|
.container span {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: #9b59b6;
|
|
background-image: linear-gradient(#9b59b6, #84cdfa, #5ad1cd);
|
|
}
|
|
|
|
.container span:nth-of-type(1) {
|
|
filter: blur(5px);
|
|
}
|
|
|
|
.container span:nth-of-type(2) {
|
|
filter: blur(10px);
|
|
}
|
|
|
|
.container span:nth-of-type(3) {
|
|
filter: blur(25px);
|
|
}
|
|
|
|
.container span:nth-of-type(4) {
|
|
filter: blur(50px);
|
|
}
|
|
|
|
.container::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
background-color: #fff;
|
|
border: solid 5px #ffffff;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
@keyframes rotate_3922 {
|
|
from {
|
|
transform: translate(-50%, -50%) rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: translate(-50%, -50%) rotate(360deg);
|
|
}
|
|
}
|
|
|
|
</style>
|