-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjewelry.css
More file actions
80 lines (77 loc) · 1.52 KB
/
jewelry.css
File metadata and controls
80 lines (77 loc) · 1.52 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.jewelry-container {
max-width: 100vw;
background-color: #ffffff;
padding-top: 2rem;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
overflow: hidden;
gap: 2rem;
padding-bottom: 2rem;
}
.jewelry-container h2 {
color: #3e3e3e;
font-size: 2rem;
font-weight: lighter;
background-color: #ffffff;
}
.card-wrapper {
display: flex;
overflow-x: auto;
gap: 20px;
scroll-behavior: smooth;
background-color: #ffffff;
}
.card-wrapper::-webkit-scrollbar {
display: none; /* Hide scrollbar */
}
.card {
min-width: 260px;
max-height: 600px;
overflow: hidden;
background: lightgray;
position: relative;
}
.card img {
max-height: 100%;
min-width: 100%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
}
.card h3 {
min-width: 280px;
font-weight: lighter;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
bottom: 5%;
}
@media screen and (max-width: 800px) {
.jewelry-container {
max-width: 100vw;
background-color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
overflow: hidden;
gap: 0rem;
text-align: center;
}
.jewelry-container h2 {
color: #3e3e3e;
font-size: 1.5rem;
font-weight: lighter;
padding-bottom: 1rem;
padding-left: 0.5rem;
}
}