-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
55 lines (47 loc) · 823 Bytes
/
style.css
File metadata and controls
55 lines (47 loc) · 823 Bytes
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
header {
background-color: #4caf50;
color: white;
text-align: center;
padding: 1rem;
}
#filter-section {
text-align: center;
margin: 20px 0;
}
#filter-section button {
background-color: #4caf50;
color: white;
border: none;
padding: 10px 20px;
margin: 5px;
cursor: pointer;
font-size: 1rem;
}
#filter-section button:hover {
background-color: #45a049;
}
#product-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
padding: 0 20px;
}
.product-item {
background-color: white;
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
text-align: center;
}
.product-item h3 {
margin: 10px 0;
}
.product-item p {
color: #555;
}