-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
83 lines (73 loc) · 1.26 KB
/
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
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
@tailwind base;
@tailwind components;
@tailwind utilities;
.underline-animation {
position: relative;
}
.underline-animation::before {
content: "";
position: absolute;
width: 100%;
height: 2px;
bottom: -2px;
left: 0;
background-color: #fe8b00;
visibility: hidden;
transform: scaleX(0.1);
transition: all 0.3s ease-in-out;
}
.underline-animation:hover::before {
visibility: visible;
transform: scaleX(0.8);
}
.no-scrollbar{
&::-webkit-scrollbar {
display: none;
}
/* Optional: Set scrollbar width to 0 for other browsers */
scrollbar-width: none;
}
.shimmer {
background: linear-gradient(
to right,
#f0f0f0 0%,
#e0e0e0 20%,
#f0f0f0 40%,
#f0f0f0 100%
);
background-size: 200% 100%;
animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fade-in {
animation: fadeIn 2s ease-in-out;
}
/* Spinner CSS */
.spinner {
border: 6px solid rgba(0, 0, 0, 0.1);
border-left-color: #fe8b00;
border-radius: 50%;
width: 24px;
height: 24px;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}