This is a solution to the Product Card component challenge on Frontend Mentor.
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
- Semantic HTML5 markup
- CSS custom properties
- Mobile-first workflow
This project helped me laern how to create a card component. Truly, I am proud of this HTML & CSS codes😊:
<div flex-one>
<p class="per">PERFUME</p>
<h1 class="gab">Gabrielle Essence Eau De Parfum</h1>
<p class="floral">A floral, solar and voluptuous interpretation composed by Olivier Polge, Perfumer-Creator for the House of CHANEL.</p>
</div>
@media (max-width:540px) {
.main-box {
/* background-color: red; */
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-end-start-radius: 0;
border-end-end-radius: 0;
width: 90%;
height: 60vh;
margin: 70px auto;
border-radius: none;
display: grid;
grid-template-columns: 1fr;
}
For me, the goal is to take on much more tasking HTML & CSS so as to get better at it before movig on to JS