-
Notifications
You must be signed in to change notification settings - Fork 0
/
mnml-spinner.css
33 lines (31 loc) · 992 Bytes
/
mnml-spinner.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* ================================================================== */
/* mnml-spinners v1.0
/* ----
/* Minimal one-element spinner/loader
/* ----
/* dennisandersson.me
/* twitter.com/ndrsn
/* dribbble.com/dennisandersson
/* github.com/rawksteady/
/* codepen.io/dennisandersson
/* ================================================================== */
.mnml-spinner {
border-radius: 100%;
border-style: solid;
border-width: 0.25rem;
height: 5rem;
width: 5rem;
animation: mnmlSpinner 1s infinite linear;
}
.mnml-spinner.light {
border-color: rgba(255, 255, 255, 0.2);
border-top-color: rgba(255, 255, 255, 1);
}
.mnml-spinner.dark {
border-color: rgba(0, 0, 0, 0.2);
border-top-color: rgba(0, 0, 0, 1);
}
@keyframes mnmlSpinner {
0% { transform: rotate(0); }
100% { transform: rotate(359.9deg); }
}