-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproducts.css
More file actions
72 lines (60 loc) · 1.06 KB
/
products.css
File metadata and controls
72 lines (60 loc) · 1.06 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
.products-page {
max-width: 1100px;
margin: auto;
padding: 20px;
font-family: "Poppins", sans-serif;
}
.title {
text-align: center;
font-size: 36px;
margin-bottom: 30px;
color: #ff5722;
}
/* GRID */
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
}
/* CARDS */
.product-card {
background: #fff;
border-radius: 12px;
padding: 15px;
text-align: center;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
transition: 0.3s;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
.product-card img {
width: 100%;
height: 210px;
object-fit: contain;
border-radius: 10px;
}
.product-card h3 {
margin: 15px 0 5px;
font-size: 19px;
}
.price {
color: #444;
margin-bottom: 12px;
}
/* BUTTON */
.buy-btn {
display: inline-block;
padding: 10px 18px;
background: #ff5722;
color: #fff;
font-size: 16px;
border-radius: 8px;
text-decoration: none;
transition: 0.2s;
}
.buy-btn:hover {
background: #d94b1e;
opacity: 0.9;
}