Skip to content
This repository was archived by the owner on Jul 20, 2026. It is now read-only.

Commit 849cdb5

Browse files
committed
sort and filter products
1 parent 0d49293 commit 849cdb5

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

src/public/assets/css/style.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,52 @@
1414
color: white !important;
1515
transition: all 0.3s ease;
1616
}
17+
18+
h1 {
19+
padding: 10px;
20+
}
21+
22+
.products {
23+
display:flex;
24+
flex-wrap: wrap;
25+
justify-content: space-around;
26+
}
27+
28+
.product-item {
29+
margin: 25px;
30+
width: 250px;
31+
height: 350px;
32+
display: flex;
33+
flex-direction: column;
34+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
35+
transition: transform 0.3s ease-in-out;
36+
37+
}
38+
39+
.product-item:hover {
40+
transform: scale(1.05);
41+
}
42+
43+
.product-item a {
44+
width: 100%;
45+
height: 100%;
46+
display: block;
47+
text-decoration: none;
48+
color: #222;
49+
}
50+
51+
.product-item img {
52+
height: 70%;
53+
width: 100%;
54+
object-fit: cover;
55+
}
56+
57+
.product-info {
58+
width: 100%;
59+
padding: 10px;
60+
}
61+
62+
.sort-filter {
63+
padding-left: 10px;
64+
padding-bottom:25px;
65+
}

0 commit comments

Comments
 (0)