Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

Spinner.module.css

23 lines388 Bytes

1.spinner {
2 display: inline-block;
3 width: 0.75em;
4 height: 0.75em;
5 margin-left: 4px;
6 border: 2px solid currentColor;
7 border-right-color: transparent;
8 border-radius: 50%;
9 font-size: small;
10 animation: spin 2s linear infinite;
12​
13@keyframes spin {
14 to {
15 transform: rotate(360deg);
16 }
18​
19@media (prefers-reduced-motion: reduce) {
20 .spinner {
21 animation: none;
22 }