-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstore.css
More file actions
119 lines (99 loc) · 1.82 KB
/
store.css
File metadata and controls
119 lines (99 loc) · 1.82 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
body {
font-family: Arial, sans-serif;
background-color: #f8f9fa;
color: #333;
margin: 0;
padding: 0;
}
header {
background-color: #343a40;
color: white;
padding: 20px;
text-align: center;
position: relative;
}
header h1 {
margin: 0;
font-size: 30px;
}
#banner {
background-color: #ffc107;
color: #333;
padding: 10px;
font-weight: bold;
}
#cart {
font-size: 23px;
cursor: pointer;
position: absolute;
right: 20px;
top: 20px;
}
.filter {
display: flex;
justify-content: center;
align-items: center;
padding: 15px;
gap: 10px;
background-color: #e9ecef;
}
#product-list {
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 20px;
gap: 20px;
}
.product {
background-color: white;
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
width: 200px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.product:hover {
transform: scale(1.05);
}
.product img {
max-width: 100%;
border-radius: 5px;
}
.product h2 {
font-size: 1.2em;
margin: 10px 0;
}
.product p {
margin: 10px 0;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: white;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 60%;
text-align: center;
}
.close-button {
float: right;
font-size: 1.5em;
cursor: pointer;
}
footer {
text-align: center;
padding: 10px;
background-color: #343a40;
color: white;
}