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.
This is a product preview page which I completed as a part of frontend mentor challanges.
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: Github
- Live Site URL: Github Pages
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- How to correctly center an absolutely positioned element in it's containing block
- Nested flexbox
- proper use of
object-fit
CSS property.
The layout is still not perfect for mobile layout and needs improvement.
- Name - Aayush Kumar
- Frontend Mentor - @AK-CHP1