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.
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: product-preview-card-component
- Live Site URL: product-preview-card-component
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
calc() function
.proud-of-this-css {
width: calc(100% / 2);
}
- mdn web docs - Documentation site and guides for HTML, CSS and JS.
- Website - Saúl Gutiérrez
- Frontend Mentor - @saulgutierrez