forked from arghadipmanna101/Flipkart_Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-page.html
301 lines (248 loc) · 7.21 KB
/
content-page.html
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
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" />
<title>Document</title>
<style>
body {
background: #ede9e9;
display: flex;
flex-direction: column;
align-items: center;
}
.box1 {
margin: 10px;
height: 400px;
max-width: 100rem;
background: white;
}
.box1 .img-container {
display: inline-block;
}
.img-container {
display: inline-block;
margin-left: 40px;
width: 200px;
pointer-events: cursor;
border-radius: 5px;
border: 0.5px solid rgb(161, 157, 157);
/* extra stuff */
overflow: hidden;
}
.about-img {
margin-top: 10px;
margin-left: 20px;
width: 160px;
height: 200px;
transition: all 0.1s linear;
}
.img-container:hover .about-img {
transition: all 0.2s linear;
transform: scale(1.1);
}
.box1 p,
h4 {
margin: 5px;
text-align: center;
letter-spacing: 1px;
font-size: 17px;
}
.box1 h3 {
font-family: sans-serif;
font-size: 20px;
padding: 10px;
}
/* section 3 */
.box2 h3 {
font-family: sans-serif;
font-size: 20px;
padding: 10px;
}
.box2 {
display: flex;
height: 400px;
}
.part1 {
margin: 10px;
height: 740px;
width: 550px;
background: white;
}
.part2 {
background:
url("content-img/f91329d65e0c0558e4b1964cc5d080dd.jpg") no-repeat center center/cover;
/*transform: translate(40%, -105%); */
margin: 10px;
height: 740px;
right: 20px;
width: 650px;
}
.part1 .img-container {
margin-bottom: 10px;
}
.part2 .icon {
margin-top: 100px;
margin-left: 400px;
width: 100px;
height: 100px;
}
.part2 .heading {
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
margin-left: 40px;
font-size: 50px;
font-weight: bold;
padding: 10px;
color: black;
}
.part2 .heading2 {
font-family: monospace;
margin-left: 60px;
font-size: 20px;
font-weight: 200;
color: gray;
}
.part2 .btn1 {
margin-top: 150px;
margin-left: 100px;
padding: 10px;
font-size: 20px;
font-weight: bold;
background: white;
border: 1px solid;
border-color: gray;
color: #111;
cursor: pointer;
border-radius: 3px;
}
.part1 p {
text-align: center;
}
.part2 .btn1 i {
width: 20px;
height: 10px;
}
.part1 .img-container:hover .about-img {
transition: all 0.1s linear;
transform: scale(1.04);
}
.part1 i {
font-size: 15px;
}
.part1 span {
color: gray;
font-size: 13px;
}
</style>
</head>
<body>
<!-- section 1 -->
<section class="box1">
<h3>Deals on Mobile Phones</h3>
<div class="img-container">
<a href="#"><img src="content-img\vivo-mobile-phone-1000x1000.webp" alt="" class="about-img"></a>
<p>Vivo T3X 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>14,500*</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/vivo-y16-mobile-phone-250x250.webp" alt="" class="about-img"></a>
<p>Vivo Y16 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>17,500*</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/vivo-y17s-forest-green-4gb-ram-128gb-storage-250x250.webp" alt=""
class="about-img"></a>
<p>Vivo Y17 pro
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>20,500*</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/oneplus-nord-n20-5g-gn2200-128gb-black-refurbished-triveni-world_1024x.webp"
alt="" class="about-img"></a>
<p>OneplusNord N20 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>29,500*</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/y35-250x250.webp" alt="" class="about-img"></a>
<p>Vivo Y35 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>22,500*</h4>
</p>
</div>
</section>
<!-- section 2 -->
<section class="box1">
<h3>Best of Electronics</h3>
<div class="img-container">
<a href="#"><img src="content-img/z-24-200mm-z5-nikon-original-imag2zuekuxgxsgg.webp" alt="camera"
class="about-img"></a>
<p>Mirrorless Cameras
<h4>Shop Now!</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/earphon3.jpg" alt="earphones" class="about-img"></a>
<p>Best wireless Ear...
<h4>Grab Now</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/Picture.png" alt="shaver" class="about-img"></a>
<p>Best of Shavers
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>1,500*</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/earphone2.jpg" alt="Headsets" class="about-img"></a>
<p>Headsets
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>3,500*</h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/projector.png" alt="projector" class="about-img"></a>
<p>Projector
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>9,500*</h4>
</p>
</div>
</section>
<!-- section 3 -->
<section class="box2">
<div class="part1">
<h3 class="heading">Dresses</h3>
<div class="img-container">
<a href="#"><img src="content-img/cloth1.webp" alt="cloth" class="about-img"></a>
<p><span>Tokiyo Talkies</span><br>Women Bodycon Bl..
<h4>From <i class="fa-solid fa-indian-rupee-sign">379</i></h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/cloth2.webp" alt="cloth" class="about-img"></a>
<p><span>Tokiyo Talkies</span><br>Women A-line Multi...
<h4>From <i class="fa-solid fa-indian-rupee-sign">600</i></h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/cloth3.webp" alt="cloth" class="about-img"></a>
<p><span>Tokiyo Talkies</span><br>Women Ribbed Pink...
<h4>From <i class="fa-solid fa-indian-rupee-sign">599</i></h4>
</p>
</div>
<div class="img-container">
<a href="#"><img src="content-img/cloth4.webp" alt="cloth" class="about-img"></a>
<p><span>Tokiyo Talkies</span><br>Women Ribbed Pink...
<h4>From <i class="fa-solid fa-indian-rupee-sign">299</i></h4>
</p>
</div>
</div>
<div class="part2">
<img src="content-img/unnamed.webp" alt="icon" class="icon">
<h3 class="heading">Top selling Smartphones</h3>
<p class="heading2">Latest Technology , Best Brands!</p>
<button class="btn1">Explore <i class="fa-solid fa-chevron-right"></i></button>
</div>
</section>
</body>
</html>