-
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
6 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<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=Montserrat:wght@500;700&family=Roboto:wght@400;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:opsz,[email protected],700&family=Montserrat:wght@500;700&family=Roboto:wght@400;500&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="style.css"> | ||
|
||
<title>Essence</title> | ||
</head> | ||
<body> | ||
<main> | ||
<div class="left_image"> | ||
<img src="./images/image-product-desktop.jpg" alt="image-product-desktop"> | ||
</div> | ||
|
||
<div clas> | ||
<h3> | ||
PERFUME | ||
</h3> | ||
|
||
<h1> | ||
Gabrielle Essence Eau De Parfum | ||
</h1> | ||
|
||
<p> | ||
A floral, solar and voluptuous interpretation composed by Oliver Polge, | ||
Perfumer-Creator for the House of CHANEL. | ||
</p> | ||
|
||
<div class="prices"> | ||
<span class="priceAfter">$149.99</span> | ||
<span class="priceBefore">$169.99</span> | ||
</div> | ||
|
||
<div class="btn"> | ||
<button> | ||
<img src="./images/icon-cart.svg" alt="cart"> | ||
Add to Cart | ||
</button> | ||
</div> | ||
|
||
</div> | ||
</main> | ||
|
||
</body> | ||
</html> |
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,120 @@ | ||
body { | ||
font-family: 'Montserrat', sans-serif; | ||
font-family: 'Roboto', sans-serif; | ||
font-family: 'Fraunces', serif; | ||
font-family: 'Montserrat', sans-serif; | ||
font-family: 'Roboto', sans-serif; | ||
margin: 0; | ||
background-color: hsl(30, 38%, 92%); | ||
display:flex; | ||
flex-direction:column; | ||
justify-content:center; | ||
} | ||
|
||
main { | ||
background-color: hsl(0, 0%, 100%); | ||
display: flex; | ||
height: 500px; | ||
width: 660px; | ||
border-radius: 12px; | ||
margin: auto; | ||
margin-top: 80px; | ||
} | ||
|
||
main .left_image img { | ||
border-radius: 12px 0 0 12px; | ||
height: 500px; | ||
width: auto; | ||
} | ||
|
||
main h3 { | ||
letter-spacing: 0.4em; | ||
font-family: Montserrat; | ||
font-weight: 500; | ||
color: hsl(228, 12%, 48%); | ||
padding: 28px 0 0px 28px; | ||
font-size: 14px; | ||
margin: 0; | ||
} | ||
|
||
main h1 { | ||
margin: 0; | ||
padding: 20px 28px 4px 28px; | ||
font-size: 38px; | ||
font-family: Fraunces; | ||
font-weight: 700; | ||
line-height: 1em; | ||
color: hsl(212, 21%, 14%); | ||
} | ||
|
||
main p { | ||
margin: 0; | ||
padding: 20px 28px 4px 28px; | ||
font-size: 16px; | ||
font-family: Montserrat; | ||
font-weight: 500; | ||
color: hsl(228, 12%, 48%); | ||
line-height: 1.5em; | ||
} | ||
|
||
main div.prices { | ||
padding: 20px 28px 4px 28px; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
main div.prices .priceAfter { | ||
font-family: Fraunces; | ||
color: hsl(158, 36%, 37%); | ||
font-size: 34px; | ||
padding-right: 18px; | ||
|
||
} | ||
|
||
main div.prices .priceBefore{ | ||
text-decoration:line-through; | ||
font-family: Montserrat; | ||
font-size: 14px; | ||
color: hsl(228, 12%, 48%); | ||
} | ||
|
||
main .btn { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 326.67px; | ||
height: 30px; | ||
margin-top: 50px; | ||
} | ||
|
||
main .btn button { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-family: montserrat; | ||
font-weight: 700; | ||
width: 270.67px; | ||
height: 50px; | ||
background-color: hsl(158, 36%, 37%); | ||
border: none; | ||
border-radius: 8px; | ||
color: #fff; | ||
font-size: 16px; | ||
gap: 10px; | ||
cursor: pointer; | ||
} | ||
|
||
main .btn button i { | ||
font-weight: 700; | ||
} | ||
|
||
main .btn button:hover { | ||
background-color: hsl(158, 100%, 16%); | ||
} | ||
|
||
@media (max-width: 375px) { | ||
|
||
|
||
|
||
} | ||
|