-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.css
98 lines (87 loc) · 1.68 KB
/
menu.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
98
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #000;
}
header {
background-color: #333;
color: red;
text-align: center;
padding: 20px 0;
font-size: 50px;
}
.product-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
padding: 20px;
display: flex;
}
.product-card {
color: white;
background-color: #333;
border: 2px solid red;
border-radius: 8px;
overflow: hidden;
width: 300px;
height: 450px;
}
.product-image {
width: 100%;
height: 200px;
overflow: hidden;
}
.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.product-info {
padding: 15px;
}
.product-title {
font-size: 1.2em;
margin-bottom: 10px;
}
.product-price {
color: #007bff;
font-size: 1.2em;
}
form {
display: flex;
/* flex-direction: row; */
/* align-items: flex-end; */
padding: 20px;
}
#addToCart {
color: #fff;
height: 50px;
width: 110px;
border: 2px solid red;
border-radius: 8px;
margin-left: 1500px;
background-color: grey;
}
.total-section {
color: #fff;
margin-top: 40px;
padding: 20px;
background-color: #333;
border: 2px solid red;
border-radius: 8px;
text-align: right;
padding-right: 100px;
}
#checkout{
color: #fff;
height: 50px;
width: 110px;
border: 2px solid red;
border-radius: 8px;
margin-left: 1400px;
background-color: grey;
}
.product-info{
float: left;
}