-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (48 loc) · 1.9 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Frontend Mentor | Product preview card component</title>
<!-- Favicon Link -->
<link rel="shortcut icon" href="./images/favicon-32x32.png" type="image/x-icon">
<!-- CSS Link -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="card">
<div class="img-side">
<picture>
<source media="(min-width:650px)" srcset="./images/image-product-desktop.jpg">
<source media="(min-width:500px)" srcset="./images/image-product-mobile.jpg">
<img src="./images/image-product-desktop.jpg" alt="...">
</picture>
</div>
<div class="details-side">
<span>Preview</span>
<h2>Gabrielle Essence Eau De Parfum</h2>
<p> A floral, solar and voluptuous interpretation composed by Olivier Polge,
Perfumer-Creator for the House of CHANEL.</p>
<div class="price-container">
<p>$149.99</p>
<p>$169.99</p>
</div>
<button class="card-btn">
<img src="./images/icon-cart.svg" alt="">
<p>Add to Cart</p>
</button>
</div>
</div>
</div>
<div class="box">
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://www.frontendmentor.io/profile/rushabh57">rushabh</a>.
</div>
<div class="img-container">
<img src="./images/profile.png" alt="">
</div>
</div>
</body>
</html>