-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
57 lines (50 loc) · 893 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@tailwind base;
@tailwind components;
@tailwind utilities;
button {
background: white;
border: none;
border-radius: 30px;
background-color: #f48238;
padding: 10px;
box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.7);
}
button:hover {
background-color: #f8934c;
}
.shimmer-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.shimmer-wrapper {
width: 270px;
height: 200px;
background-color: #f6f7f8;
border-radius: 8px;
position: relative;
overflow: hidden;
}
.shimmer {
width: 100%;
height: 100%;
background: linear-gradient(
to right,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.1) 50%,
rgba(0, 0, 0, 0) 100%
);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
.menu-shimmer-wrapper {
width: 100%;
}