CSS Grid product card solution

Solution retrospective
Proud of managing to use a CSS grid effectively and changing it according to screen size.
What challenges did you encounter, and how did you overcome them?Responsive design with grid has been difficult to implement, I had to resort to a number of margin hacks that needed too specific classes.
What specific areas of your project would you like help with?I would like to know some good practices to reduce unique code as much as possible and favor reusability
Please log in to post a comment
Log in with GitHubCommunity feedback
- @justXeeZ
the grid approach is quite interesting although I'd not suggest it for such design, it will be quite hard to make everything responsive by default(this is why your code contains a lot of properties changed in the media query), and the image in the mobile version is extremely squished (maybe its a firfox problem idk), and also it would be great to make use of the
object fit
property.Marked as helpful - @brammilevs
nice work
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord