This is a solution to the Product preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Note: Delete this note and update the table of contents based on what sections you keep.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover and focus states for interactive elements
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox / CSS Grid
- Mobile-first workflow
- HTML and CSS only
<picture class="card__img-wrapper">
<source
srcset="/images/image-product-desktop.jpg"
media="(min-width: 1440px)"
/>
<img
class="card__img card__img--mobile"
src="/images/image-product-mobile.jpg"
alt="perfume Gabrielle CHANEL"
/>
</picture>
Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.
- Website - dangelomedinag
- Frontend Mentor - @dangelomedinag
- Twitter - @dangelomedinag
- css grid
- css flex-box
- layout