mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-14 06:05:16 +09:00
21 lines
532 B
CSS
21 lines
532 B
CSS
.spinner {
|
|
position: relative;
|
|
|
|
&::before {
|
|
--mask: no-repeat radial-gradient(#000 68%, #0000 71%);
|
|
--dot-size: 1.25em;
|
|
|
|
-webkit-mask: var(--mask), var(--mask), var(--mask);
|
|
-webkit-mask-size: 28% 45%;
|
|
animation: submitting 1.3s infinite linear;
|
|
aspect-ratio: 8/5;
|
|
background: currentColor;
|
|
content: "";
|
|
inline-size: var(--dot-size);
|
|
inset: 50% 0.25em;
|
|
margin-block: calc((var(--dot-size) / 3) * -1);
|
|
margin-inline: calc((var(--dot-size) / 2) * -1);
|
|
position: absolute;
|
|
}
|
|
}
|