-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnon_veg_items.css
More file actions
84 lines (71 loc) · 1.29 KB
/
Copy pathnon_veg_items.css
File metadata and controls
84 lines (71 loc) · 1.29 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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}
.container {
max-width: 800px;
margin: auto;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
header {
text-align: center;
margin-bottom: 20px;
}
h1 {
color: #333;
}
h2 {
color: #555;
}
.item-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
}
.item {
background: #eaeaea;
padding: 15px;
border-radius: 5px;
text-align: center;
cursor: pointer;
transition: background 0.3s;
}
.item:hover {
background: #d4d4d4;
}
.cart {
margin-top: 30px;
padding: 15px;
background: #f9f9f9;
border-radius: 5px;
}
.cart h2 {
margin-top: 0;
}
#cart-items {
list-style-type: none;
padding: 0;
}
.cart-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 0;
}
button {
background-color: #28a745;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background-color: #218838;
}