@use "@styles/abstracts/functions" as fun; .wrapper { display: flex; flex-flow: row wrap; align-items: center; justify-content: center; gap: var(--spacing-2xs); margin-bottom: var(--spacing-md); } .ball { width: fun.convert-px(8); height: fun.convert-px(8); background: linear-gradient( to right, var(--color-primary-light) 0%, var(--color-primary-lighter) 100% ); border-radius: 50%; animation: spinner 1.4s infinite ease-in-out both; &:first-child { animation-delay: -0.32s; } &:nth-child(2) { animation-delay: -0.16s; } } .text { margin-left: var(--spacing-xs); text-align: center; } @keyframes spinner { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } } '/'>cgit logo index : www.armandphilippot.com
The frontend of my personal website.Armand Philippot
summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/forms/motion-toggle.tsx
blob: ec2d95011286db3bd18a276c1a93311c7a122229 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119