-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinline-block.html
More file actions
269 lines (162 loc) · 6.66 KB
/
Copy pathinline-block.html
File metadata and controls
269 lines (162 loc) · 6.66 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style type="text/css">
body{
display: grid;
grid-template-columns: 4fr 8fr;
}
nav{
border: 2px solid black;
height: 300px;
}
main{
border: 2px solid black;
height: 300px;
}
ul{
list-style: none;
}
/* cards css */
.main {
background-color: white;
/* border: 2px solid black; */
width: 280px;
margin-left: 20px;
margin-top: 60px;
}
.subbodycode {
display: grid;
grid-template-columns: 6fr 6fr;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
}
.main div {
margin: 5px;
margin-top: 15px;
}
.headercode{
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
padding-left: 15px;
}
.footercode{
color: rgb(51, 165, 231);
padding-left: 10px;
padding-top: 10px;
padding-bottom: 15px;
font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
}
body{
display: flex;
flex-direction: row;
}
body div{
margin: 10px;
}
div .subbodycode2{
display: grid;
grid-template-columns: 6fr 6fr;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
margin-top: -4px;
}
div .footercode2{
color: rgb(51, 165, 231);
padding-left: 10px;
padding-top: 10px;
padding-bottom: 15px;
font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
margin-top: 30px;
}
.ultimate {
display:flex;
flex-direction: row;
}
</style>
</head>
<body>
<nav>
<ul>
<li>MOBILES</li>
<li>KIDS FASHION</li>
<li>FOOTWEAR</li>
</ul>
</nav>
<main>
<div class="ultimate">
<div class="main">
<div class="headercode"> <b>Starting ₹149 | Headphones</b></div>
<div class="bodycode">
<div class="subbodycode">
<div> <img src="../public/images/boat.jpg" alt="no image" width="120px" height="85px"> Starting
₹249 | boaAt</div>
<div> <img src="../public/images/boult.jpg" alt="no image" width="120px" height="85px"> Starting
₹349 | boult</div>
</div>
<div class="subbodycode">
<div> <img src="../public/images/noise.jpg" alt="no image" width="120px" height="85px"> Starting
₹649 | Noice</div>
<div> <img src="../public/images/zebronics.jpg" alt="no image" width="120px" height="85px"> Starting
₹149 | zebronics</div>
</div>
</div>
<div class="footercode"> See all offers</div>
</div>
<!-- second card code -->
<div class="main">
<div class="headercode"> <b>Automotive essentials | Up to 60% off </b></div>
<div class="bodycode">
<div class="subbodycode">
<div> <img src="../public/images/cleaning.jpg" alt="no image" width="120px" height="85px">Cleaning accessories
</div>
<div> <img src="../public/images/tyre.jpg" alt="no image" width="120px" height="85px">Tyre & rim care</div>
</div>
<div class="subbodycode">
<div> <img src="../public/images/helmet.jpg" alt="no image" width="120px" height="85px">Helmets</div>
<div> <img src="../public/images/vaccumecleaner.jpg" alt="no image" width="120px" height="85px"> vaccum cleaner</div>
</div>
</div>
<div class="footercode2"> See more</div>
</div>
<!-- third card code -->
<div class="main">
<div class="headercode"> <b>Starting ₹199 | Amazon Brands & more</b></div>
<div class="bodycode">
<div class="subbodycode">
<div> <img src="../public/images/bedsheets.jpg" alt="no image" width="120px" height="85px"> Starting
₹199 | Bedsheets</div>
<div> <img src="../public/images/curtains.jpg" alt="no image" width="120px" height="85px"> Starting
₹199 | Curtains</div>
</div>
<div class="subbodycode2">
<div> <img src="../public/images/irontable.jpg" alt="no image" width="120px" height="85px"> Minimum 40% off | Ironing boards & more</div>
<div> <img src="../public/images/decor.jpg" alt="no image" width="120px" height="85px"> Up to 60% off | Home decor</div>
</div>
</div>
<div class="footercode"> See more</div>
</div>
<!-- fourth card code -->
<div class="main">
<div class="headercode"> <b>Min. 40% off | Gifting toys for little ones |...</b></div>
<div class="bodycode">
<div class="subbodycode">
<div> <img src="../public/images/penguin.jpg" alt="no image" width="120px" height="85px">Min. 40% off | soft toys</div>
<div> <img src="../public/images/chessboard.jpg" alt="no image" width="120px" height="85px"> Min. 40% off | Indoor games</div>
</div>
<div class="subbodycode2">
<div> <img src="../public/images/horse.jpg" alt="no image" width="120px" height="85px">Min 40% off Ride ons</div>
<div> <img src="../public/images/slide.jpg" alt="no image" width="120px" height="85px"> Min 40% off | outdoor games </div>
</div>
</div>
<div class="footercode"> See all offers</div>
</div>
</div>
</main>
</body>
</html>