💄 feat: Write HTML markup
This commit is contained in:
parent
787e4fc4c7
commit
7a1e20f07d
2 changed files with 20 additions and 10 deletions
|
@ -26,22 +26,34 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
Preview
|
||||
<main class="ProductCard">
|
||||
<picture class="ProductCard-picture">
|
||||
<source media="(max-width: 999px)" srcset="images/image-product-mobile.jpg">
|
||||
<source media="(min-width: 1000px)" srcset="images/image-product-desktop.jpg">
|
||||
<img src="images/image-product-desktop.jpg" alt="Gabrielle Essence perfume bottle">
|
||||
</picture>
|
||||
|
||||
Gabrielle Essence Eau De Parfum
|
||||
<div class="ProductCard-category">Perfume</div>
|
||||
|
||||
A floral, solar and voluptuous interpretation composed by Olivier Polge,
|
||||
Perfumer-Creator for the House of CHANEL.
|
||||
<h1 class="ProductCard-title">Gabrielle Essence Eau De Parfum</h1>
|
||||
|
||||
$149.99
|
||||
$169.99
|
||||
<p class="ProductCard-description">
|
||||
A floral, solar and voluptuous interpretation composed by Olivier Polge, Perfumer-Creator for
|
||||
the House of CHANEL.
|
||||
</p>
|
||||
|
||||
Add to Cart
|
||||
<div class="ProductCard-priceContainer">
|
||||
<span class="ProductCard-price">$149.99</span>
|
||||
<span class="ProductCard-price--discounted">$169.99</span>
|
||||
</div>
|
||||
|
||||
<button class="ProductCard-addToCart">Add to Cart</button>
|
||||
</main>
|
||||
|
||||
<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>.
|
||||
Coded by <a href="https://punkfairie.net">Marley Rae</a>.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
/* ----------------------------------------------------------------------------------- &root ---- */
|
||||
|
||||
/* desktop width: 1440px */
|
||||
|
||||
:root {
|
||||
--c-dark-cyan: 158, 36%, 37%;
|
||||
--c-cream: 30, 38%, 92%;
|
||||
|
|
Loading…
Reference in a new issue