-
Notifications
You must be signed in to change notification settings - Fork 0
/
wl_product.css
97 lines (84 loc) · 1.63 KB
/
wl_product.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
background-image: url('bgimgs/p\ \(3\).jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;/
}
.products-container {
max-width: 1200px;
margin: 20px auto;
padding: 20px;
box-sizing: border-box;
}
/* Product styles */
.product {
border: 1px solid #ccc;
padding: 10px;
margin-bottom: 20px;
width: calc(33.33% - 20px);
height: 60vh;
box-sizing: border-box;
background-color: #fff;
transition: transform 0.3s ease-in-out;
float: left;
margin-right: 20px;
border-radius: 10px;
}
.product img {
max-width: 200px;
display: block;
margin: 0 auto;
<<<<<<< HEAD
mix-blend-mode: darken;
=======
z-index: 1;
>>>>>>> origin/main
}
.product h2 {
text-align: center;
margin-top: 10px;
}
.product p {
text-align: center;
margin-top: 5px;
font-size: 16px;
color: #333;
}
.product:hover {
transform: scale(1.05);
}
.clearfix::after {
content: "";
display: table;
clear: both;
}
/* Responsive styles */
@media screen and (max-width: 768px) {
.product {
width: calc(50% - 20px);
<<<<<<< HEAD
/* Adjust for smaller screens */
}
=======
height: 45vh;
margin-left: 3%;
}
.products-container {
padding-top: 20%;
}
>>>>>>> origin/main
}
@media screen and (max-width: 480px) {
.product {
width: calc(100% - 20px);
<<<<<<< HEAD
/* Full width for smaller screens */
=======
>>>>>>> origin/main
margin-right: 0;
}
}