@slashid/docusaurus-theme-slashid
Version:
SlashID theme for Docusaurus.
47 lines (38 loc) • 746 B
CSS
.host {
display: inline-block;
position: relative;
}
.host div {
box-sizing: border-box;
display: block;
position: absolute;
border: 2px solid white;
border-radius: 50%;
animation: spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.host.big div {
border: 8px solid white;
}
.host.light div {
border-color: white transparent transparent transparent;
}
.host.blue div {
border-color: hsla(222, 88%, 58%, 1) transparent transparent transparent;
}
.host div:nth-child(1) {
animation-delay: -0.45s;
}
.host div:nth-child(2) {
animation-delay: -0.3s;
}
.host div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}