-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
56 additions
and
34 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* Variables */ | ||
:root { | ||
--cream-bg: #f2eae2; | ||
--aurometal-saurus: #6c7289; | ||
--gunmetal: #1c232b; | ||
--deep-aquamarine: #3d8168; | ||
--pure-white: #ffffff; | ||
} | ||
|
||
/* General */ | ||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
background-color: var(--cream-bg); | ||
color: var(--aurometal-saurus); | ||
font-family: 'Montserrat', sans-serif; | ||
font-weight: 500; | ||
font-size: 14px; | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,34 @@ | ||
<!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>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> | ||
|
||
Preview | ||
|
||
Gabrielle Essence Eau De Parfum | ||
|
||
A floral, solar and voluptuous interpretation composed by Olivier Polge, | ||
Perfumer-Creator for the House of CHANEL. | ||
|
||
$149.99 | ||
$169.99 | ||
|
||
Add to Cart | ||
|
||
<div class="attribution"> | ||
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. | ||
Coded by <a href="#">Your Name Here</a>. | ||
</div> | ||
</body> | ||
</html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png"> | ||
<title>Frontend Mentor | 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:wght@700&family=Montserrat:wght@500;700&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="./assets/style.css"> | ||
</head> | ||
<body> | ||
<main id="main"> | ||
<div class="card"> | ||
<picture class="card-image"> | ||
<img src="./assets/images/image-product-mobile.jpg" alt="Product image"> | ||
</picture> | ||
<div class="card-body"> | ||
<span class="card-category">Perfume</span> | ||
<h1 class="card-title">Gabrielle essence eau de parfum</h1> | ||
<p class="card-description">A floral, solar and voluptuous interpretation composed by Olivier Polge, Perfumer-Creator for the House of CHANEL.</p> | ||
<div class="card-price"> | ||
<strong class="new-price">$149.99</strong> | ||
<span class="old-price">$169.99</span> | ||
</div> | ||
<button class="card-button"> | ||
<img src="./assets/images/icon-cart.svg" alt="Icon cart"> Add to Cart | ||
</button> | ||
</div> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |
File renamed without changes