-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhair.html
462 lines (442 loc) · 16 KB
/
hair.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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Silken Whispers</title>
<link rel="icon" type="image/x-icon" href="logo2.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Merienda:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0" />
<link rel="stylesheet" href="style.css">
<style>
:root{
--bg-color: #EFECE9;
--text-color: #050505;
--sub1-color: #DDD9CE;
--nav-color: #AC9CBD;
--sub2-color: #610C27;
--font: 'Merienda', cursive;
}
/* content{
padding-top: 2%;
} */
.nav-sub{
display: grid;
padding-top: 4.90%;
grid-template-columns: repeat(5, 1fr);
text-align: center;
}
.nav-sub-bar{
display: flex;
background-color: var(--sub2-color);
height: 80px;
font-size: 30px;
align-items: center;
/* padding: 2% 0 2% 0; */
border: 1px solid black;
border-bottom: none;
}
.nav-sub-bar #active{
background-color: var(--sub1-color);
color: var(--text-color);
}
.nav-sub-items{
padding-top: 6%;
height: 100%;
width: 100%;
text-align: center;
text-decoration: none; /* Remove underline from links */
color: white; /* Set text color to white */
}
.nav-sub-items:hover{
color: var(--text-color);
}
#active:hover{
color: var(--sub2-color);
}
.sub_heading{
display: flex;
background-color: var(--sub1-color);
height: 60px;
align-items: center;
padding: 1% 0 0 50%;
}
.sub_heading p{
padding-bottom: 2%;
font-size: 40px;
text-align: center;
}
.banner-img img{
border-radius: 70px; /* Adjust the radius as needed for the desired level of rounding */
padding: 2% 2% 2% 2%;
width: 96%;
}
.product-cards{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
}
.card-contain{
align-items: center;
display: flex;
padding: 3% 0 5% 0;
}
.container {
width: 500px;
height: 600px;
top:0; right: 0; left: 0; bottom: 0;
margin: auto;
background-color: black;
background-size: cover;
cursor: pointer;
-webkit-box-shadow: 0 0 5px #000;box-shadow: 0 0 5px #000;
.bgimage1{
background: url("https://i.pinimg.com/564x/ea/53/b8/ea53b83227779be4535ad6b19d80a9f9.jpg");
width: 500px;
height: 600px;
}
.bgimage2{
background: url("https://i.pinimg.com/564x/33/2c/93/332c939504799a68a84374b523fb5028.jpg");
width: 500px;
height: 600px;
}
.bgimage3{
background: url("https://i.pinimg.com/564x/c0/21/ec/c021ec6f8efbf82f5910a6a629a9d5d7.jpg");
width: 500px;
height: 600px;
}
.bgimage4{
background: url("https://i.pinimg.com/564x/16/2a/69/162a6971e2d2b2af21ec198f66461984.jpg");
width: 500px;
height: 600px;
}
.bgimage5{
background: url("https://i.pinimg.com/564x/53/c7/84/53c784c4b68fc2e413e9ee87c107e4fb.jpg");
width: 500px;
height: 600px;
}
.bgimage6{
background: url("https://i.pinimg.com/564x/82/54/80/82548060f256896fe638bd0799a2526a.jpg");
width: 500px;
height: 600px;
}
}
.overlay {
width: 100%;
height: 100%;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 2fr 2fr 1fr;
background: rgba(77, 77, 77, .9);
color: var(--sub1-color);
opacity: 0;
transition: all 0.5s;
}
.items {
padding-left: 20px;
letter-spacing: 3px;
}
.head {
font-size: 30px;
line-height: 40px;
transform: translateY(40px);
transition: all 0.7s;
hr {
display: block;
width: 0;
border: none;
border-bottom: solid 2px --text-color;
position: absolute;
bottom: 0; left:20px;
transition: all .5s;
}
}
.price {
font-size: 22px;
line-height: 10px;
font-weight: bold;
opacity: 0;
transform: translateY(40px);
transition: all 0.7s;
.old {
text-decoration: line-through;
color: lighten(rgb(77, 77, 77),40%);
}
}
.cart {
font-size: 12px;
opacity: 0;
letter-spacing: 1px;
font-family: 'Lato', sans-serif;
transform: translateY(40px);
transition: all 0.7s;
i {
font-size: 16px;
}
span {
margin-left: 10px;
}
}
.container:hover .overlay {
opacity: 1;
& .head {
transform: translateY(0px);
}
& hr {
width: 75px;
transition-delay: 0.4s;
}
& .price {
transform: translateY(0px);
transition-delay: 0.3s;
opacity: 1;
}
& .cart {
transform: translateY(0px);
transition-delay: 0.6s;
opacity: 1;
}
}
</style>
</head>
<body>
<header class="header">
<div class="logo">
<img src="logo2.png" alt="Silken Whispers" >
</div>
<nav class="navbar">
<ul>
<li><a href="Homepage.html" class="nav-item" >Home</a></li>
<li><a href="category.html" class="nav-item" >Category</a></li>
<li><a href="aboutus.html" class="nav-item" >About Us</a></li>
<li><a href="brands.html" class="nav-item">Brands</a></li>
<li><a href="beautyadvice.html" class="nav-item" >Beauty Advice</a></li>
<li><a href="contactus.html" class="nav-item">Contact Us</a></li>
<li><a href="LogIn.html"><i class="material-icons" id="btnlogin">account_circle</i></a></li>
<li><a href="cart.html"><i class="material-symbols-rounded" id="cart">shopping_cart</i></a></li>
</ul>
</nav>
</header>
<subheader class="nav-sub">
<div class="nav-sub-bar">
<a href="face.html" class="nav-sub-items" >Face</a>
</div>
<div class="nav-sub-bar">
<a href="eyes.html" class="nav-sub-items" >Eyes</a>
</div>
<div class="nav-sub-bar">
<a href="lips.html" class="nav-sub-items" >Lips</a>
</div>
<div class="nav-sub-bar">
<a href="hands.html" class="nav-sub-items" >Hands</a>
</div>
<div class="nav-sub-bar">
<a href="hair.html" class="nav-sub-items" id="active">Hair</a>
</div>
</subheader>
<content>
<div class="sub_heading">
<p>Hair</p>
</div>
</content>
<section class="banner-img">
<img src="https://i.pinimg.com/564x/13/2c/79/132c799e165bf3c471110cc763b2a2b0.jpg" alt="">
</section>
<section class="product-cards">
<div class="card-contain">
<div class="container">
<div class="bgimage1">
<div class="overlay">
<div class = "items"></div>
<div class = "items head">
<p>Hydrating Serum</p>
<hr>
</div>
<div class = "items price">
<p class="old">$699</p>
<p class="new">$345</p>
</div>
<div class="items cart" onclick="addToCart('Hydrating Serum', 345)">
<i class="fa fa-shopping-cart"></i>
<span>ADD TO CART</span>
</div>
</div>
</div>
</div>
</div>
<div class="card-contain">
<div class="container">
<div class="bgimage2">
<div class="overlay">
<div class = "items"></div>
<div class = "items head">
<p>Exfoliating Facewash</p>
<hr>
</div>
<div class = "items price">
<p class="old">$699</p>
<p class="new">$345</p>
</div>
<div class="items cart" onclick="addToCart('Exfoliating Facewash', 345)">
<i class="fa fa-shopping-cart"></i>
<span>ADD TO CART</span>
</div>
</div>
</div>
</div>
</div>
<div class="card-contain">
<div class="container">
<div class="bgimage3">
<div class="overlay">
<div class = "items"></div>
<div class = "items head">
<p>Silky Moose</p>
<hr>
</div>
<div class = "items price">
<p class="old">$699</p>
<p class="new">$345</p>
</div>
<div class="items cart" onclick="addToCart('Silky Moose', 345)">
<i class="fa fa-shopping-cart"></i>
<span>ADD TO CART</span>
</div>
</div>
</div>
</div>
</div>
<div class="card-contain">
<div class="container">
<div class="bgimage4">
<div class="overlay">
<div class = "items"></div>
<div class = "items head">
<p>Concealer</p>
<hr>
</div>
<div class = "items price">
<p class="old">$699</p>
<p class="new">$345</p>
</div>
<div class="items cart" onclick="addToCart('Concealer', 345)">
<i class="fa fa-shopping-cart"></i>
<span>ADD TO CART</span>
</div>
</div>
</div>
</div>
</div>
<div class="card-contain">
<div class="container">
<div class="bgimage5">
<div class="overlay">
<div class = "items"></div>
<div class = "items head">
<p>Foundation</p>
<hr>
</div>
<div class = "items price">
<p class="old">$699</p>
<p class="new">$345</p>
</div>
<div class="items cart" onclick="addToCart('Foundation', 345)">
<i class="fa fa-shopping-cart"></i>
<span>ADD TO CART</span>
</div>
</div>
</div>
</div>
</div>
<div class="card-contain">
<div class="container">
<div class="bgimage6">
<div class="overlay">
<div class = "items"></div>
<div class = "items head">
<p>Sun Protection (SPF)</p>
<hr>
</div>
<div class = "items price">
<p class="old">$699</p>
<p class="new">$345</p>
</div>
<div class="items cart" onclick="addToCart('Sun Protection (SPF)', 345)">
<i class="fa fa-shopping-cart"></i>
<span>ADD TO CART</span>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="fo-grid-container">
<div class="fo-grid-items">
<div class="fo-intro">
<h1>SILKERS</h1>
At Silken Whispers, we believe in the power of understated beauty. Our carefully crafted cosmetics embody a fusion of aesthetics and sensuality, inviting you to embrace your unique grace with each stroke
<div>
<p class="footer-company-name">Company Name <b>©</b> 2015</p>
</div>
</div>
</div>
<div class="fo-grid-items">
<div class="footer-nav">
<ul>
<li><a href="" class="item" >Home</a></li><br>
<li><a href="category.html" class="item" >Category</a></li><br>
<li><a href="aboutus.html" class="item" >About Us</a></li><br>
<li><a href="" class="item" >Brands</a></li><br>
<li><a href="" class="item" >Beauty Advice</a></li>
</ul>
</div>
</div>
<div class="fo-grid-items">
<div class="footer-image1">
<img src="fo__1_-removebg-preview-removebg-preview.png">
</div>
<div class="fo-logo">
<img src="fo-logo.png" alt="Silken Whispers" >
</div>
<div class="footer-image2">
<img src="foimg-transformed-removebg-preview (3) (1).png">
</div>
</div>
<div class="fo-grid-items">
<div class="footer-social">
<a href="#" ><img src="icons8-facebook-50.png" alt="Facebook" class="icons"></a><br>
<a href="#" ><img src="icons8-twitter-50.png" alt="Twitter" class="icons"></a><br>
<a href="#" ><img src="icons8-instagram-50.png" alt="Instagram" class="icons"></a><br>
<a href="#" ><img src="icons8-linkedin-50.png" alt="LinkedIn" class="icons"></a>
<!-- Add more social media icons as needed -->
</div>
</div>
<div class="fo-grid-items">
<div class="footer-contact">
<p>Contact Us:</p><br>
<a href="LogIn.html"><i class="material-icons" id="btncontact">email</i></a>
<p>[email protected]</p><br>
<a href="LogIn.html"><i class="material-icons" id="btncontact">call</i></a>
<p>+1 (123) 456-7890</p>
</div>
</div>
</div>
<div class="fo-last">
<div class="fo-last-img" id="left">
<img src="fo-last-removebg-preview (2) (1) (1).png">
</div>
<div class="fo-last-text">
SILKEN WHISPERS CHIRANSHU 2110992197
</div>
<div class="fo-last-img" id="right">
<img src="fo-last-removebg-preview (2) (1) (1).png">
</div>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>