Submitted about 2 years ago
Responsive Stats preview card component using css flexbox and grid
@damagermax
Design comparison
SolutionDesign
Solution retrospective
Though I was able to achieve the desired result, I'm not sure if I am following the best practices. Any help, criticism or feedback is welcome, I am here to learn!
Community feedback
- @mtenkorangPosted about 2 years ago
This challenges requires the use of two images 🎑 for different breakpoints. The Picture Element should help with that.
<picture> <source media="(min-width: 650px)" srcset="img_food.jpg"> <source media="(min-width: 465px)" srcset="img_car.jpg"> <img src="img_girl.jpg"> </picture>
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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