forked from arghadipmanna101/Flipkart_Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-page.html
256 lines (235 loc) · 6.36 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
<!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>Contents</title>
<style>
body {
background: #ede9e9;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
a {
text-decoration: none;
color: black;
}
a:hover {
color: #2888f5;
}
.box {
margin: 10px;
max-width: 100%;
background: white;
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}
.img-container {
margin: 10px;
width: 200px;
border-radius: 5px;
border: 1px solid rgb(161, 157, 157);
overflow: hidden;
transition: transform 0.2s ease;
}
.img-container:hover {
transform: scale(1.1);
}
.box h3 {
font-family: sans-serif;
font-size: 20px;
padding: 10px;
display: block;
width: 100%;
text-align: center;
}
.box p, .box h4 {
margin: 5px;
text-align: center;
font-size: 17px;
}
.box img {
width: 100%;
height: auto;
}
.box button {
margin-top: 20px;
padding: 10px;
font-size: 20px;
font-weight: bold;
background: white;
border: 1px solid gray;
color: #111;
cursor: pointer;
border-radius: 3px;
}
.icon {
width: 100px;
height: 100px;
display: block;
margin: 0 auto;
}
.heading {
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 30px;
font-weight: bold;
padding: 10px;
text-align: center;
color: black;
}
.heading2 {
font-family: monospace;
font-size: 20px;
font-weight: 200;
color: gray;
text-align: center;
}
@media (max-width: 768px) {
.img-container {
width: 100%;
}
}
</style>
</head>
<body>
<!-- section 1 -->
<section class="box">
<h3 >Deals on Mobile Phones</h3>
<a href="#"><div class="img-container">
<img src="content-img\vivo-mobile-phone-1000x1000.webp" alt="" class="about-img">
<p>Vivo T3X 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>14,500*</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/vivo-y16-mobile-phone-250x250.webp" alt="" class="about-img">
<p>Vivo Y16 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>17,500*</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/vivo-y17s-forest-green-4gb-ram-128gb-storage-250x250.webp" alt=""
class="about-img">
<p>Vivo Y17 pro
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>20,500*</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/oneplus-nord-n20-5g-gn2200-128gb-black-refurbished-triveni-world_1024x.webp"
alt="" class="about-img">
<p>OneplusNord N20 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>29,500*</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/y35-250x250.webp" alt="" class="about-img">
<p>Vivo Y35 5G
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>22,500*</h4>
</p>
</div>
</a>
</section>
<!-- section 2 -->
<section class="box">
<h3>Best of Electronics</h3>
<a href="#">
<div class="img-container">
<img src="content-img/z-24-200mm-z5-nikon-original-imag2zuekuxgxsgg.webp" alt="camera"
class="about-img">
<p>Mirrorless Cameras
<h4>Shop Now!</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/earphon3.jpg" alt="earphones" class="about-img">
<p>Best wireless Ear...
<h4>Grab Now</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/Picture.png" alt="shaver" class="about-img">
<p>Best of Shavers
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>1,500*</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/earphone2.jpg" alt="Headsets" class="about-img">
<p>Headsets
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>3,500*</h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/projector.png" alt="projector" class="about-img">
<p>Projector
<h4>From <i class="fa-solid fa-indian-rupee-sign"></i>9,500*</h4>
</p>
</div>
</a>
</section>
<!-- section 3 -->
<section class="box">
<h3>Dresses</h3>
<a href="#">
<div class="img-container">
<img src="content-img/cloth1.webp" alt="cloth" class="about-img">
<p><span>Tokiyo Talkies</span><br>Women Bodycon Bl..
<h4>From <i class="fa-solid fa-indian-rupee-sign">379</i></h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/cloth2.webp" alt="cloth" class="about-img">
<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>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/cloth3.webp" alt="cloth" class="about-img">
<p><span>Tokiyo Talkies</span><br>Women Ribbed Pink...
<h4>From <i class="fa-solid fa-indian-rupee-sign">599</i></h4>
</p>
</div>
</a>
<a href="#">
<div class="img-container">
<img src="content-img/cloth4.webp" alt="cloth" class="about-img">
<p><span>Tokiyo Talkies</span><br>Women Ribbed Pink...
<h4>From <i class="fa-solid fa-indian-rupee-sign">299</i></h4>
</p>
</div>
</a>
</div>
<div class="box" >
<img src="content-img/Oppo_Reno_10_5g_Cover.avif" 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>