-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (68 loc) · 2.75 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title> Product preview card component</title>
<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=Fraunces:ital,opsz,wght@1,9..144,500&display=swap" rel="stylesheet">
<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=Fraunces:ital,opsz,wght@1,9..144,500&family=Montserrat:wght@200&display=swap"
rel="stylesheet">
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
body{
background-color: antiquewhite;
}
.imgText{
display: flex;
justify-content: center;
padding-top: 230px;
}
#div1{
padding-bottom: 30px;
padding-left: 40px;
padding-right: 40px;
background-color: white;
height: 340px;
line-height: 20px;
border-radius: 0px 8px 8px 0px
}
img{
float: left;
border-radius: 8px 0px 0px 8px ;
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body >
<div class="imgText">
<img src="image-product-desktop.jpg" width="300" height="370" >
<div id="div1">
<p style="font-weight:lighter;color: grey;font-size: small;">P E R F U M E</p>
<p style="font-weight: bold;font-size: x-large;font-family:'Fraunces', serif;line-height: 25px;">Gabrielle <br>Essence Eau<br>
De Parfum</p>
<p style="font-weight: bold;color: grey;font-family: 'Montserrat', sans-serif;font-size: small;line-height: 17px;">A floral, solar and voluptuous <br>
interpretation composed <br>
by Olivier Polge, Perfumer-Creator <br>
for the House of CHANEL.</p>
<p style="font-family:'Fraunces', serif;color: mediumseagreen;font-weight: bolder;font-size: x-large;line-height: 17px;">$149.99</p>
<p style="font-size: smaller;font-weight:lighter;color: grey;text-decoration: line-through;line-height: 17px;">$169.99 </p>
<button style="color:white;background-color:mediumseagreen;width: 150px;height: 35px;border-radius: 10px;border-color:
mediumaquamarine;">
Add to Cart
</button>
</div>
</div>
</p>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">JUDE JOVAN</a>.
</div>
</body>
</html>