initial design
This commit is contained in:
parent
1336c68f10
commit
1fdd2a6049
14 changed files with 443 additions and 0 deletions
70
product-preview-card-component-main/index.html
Normal file
70
product-preview-card-component-main/index.html
Normal file
|
@ -0,0 +1,70 @@
|
|||
<!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"
|
||||
/>
|
||||
<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@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=shopping_cart"
|
||||
/>
|
||||
<link rel="stylesheet" href="./styles.css" class="sty" />
|
||||
|
||||
<title>Frontend Mentor | Product preview card component</title>
|
||||
|
||||
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
|
||||
<style>
|
||||
.attribution {
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
}
|
||||
.attribution a {
|
||||
color: hsl(228, 45%, 44%);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<img
|
||||
src="./images/image-product-mobile.jpg"
|
||||
alt="picture of perfume"
|
||||
class="hero-img"
|
||||
/>
|
||||
<div class="content">
|
||||
<h3>PERFUME</h3>
|
||||
<h1>Gabrielle Essence Eau De Parfum</h1>
|
||||
<p>
|
||||
A floral, solar and voluptuous interpretation composed by Olivier
|
||||
Polge, Perfumer-Creator for the House of CHANEL.
|
||||
</p>
|
||||
<div class="price">
|
||||
<h2>$149.99</h2>
|
||||
<s><span class="old-price">$169.99</span></s>
|
||||
</div>
|
||||
<button class="btn">
|
||||
<span class="material-symbols-outlined"> shopping_cart </span>Add to
|
||||
Cart
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="attribution">
|
||||
Challenge by
|
||||
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
|
||||
>Frontend Mentor</a
|
||||
>. Coded by <a href="https://github.com/smiggiddy">Smigz</a>.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue