-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
34 lines (31 loc) · 940 Bytes
/
index.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
34
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.input {
@apply rounded-full border border-stone-200 px-4 py-2 text-sm transition-all duration-300 placeholder:text-stone-400 focus:outline-none focus:ring focus:ring-yellow-400 md:px-6 md:py-3;
}
/* https://dev.to/afif/i-made-100-css-loaders-for-your-next-project-4eje */
.loader {
width: 45px;
aspect-ratio: 0.75;
--c: no-repeat linear-gradient(theme(colors.yellow.500) 0 0);
background: var(--c) 0% 50%, var(--c) 50% 50%, var(--c) 100% 50%;
background-size: 20% 50%;
animation: loading 1s infinite linear;
}
@keyframes loading {
20% {
background-position: 0% 0%, 50% 50%, 100% 50%;
}
40% {
background-position: 0% 100%, 50% 0%, 100% 50%;
}
60% {
background-position: 0% 50%, 50% 100%, 100% 0%;
}
80% {
background-position: 0% 50%, 50% 50%, 100% 100%;
}
}
}