
Design comparison
SolutionDesign
Community feedback
- @kirlosbastaPosted 4 months ago
@Dadv-a11y Hi Dadv hope your doing well.
I really liked your solution and how simple and clean it's.
Pro Tip: to display different images for different viewports I suggest using
picture
element to make it responsive which is way cleaner and optimized. and the reason for that when a user loads the page in your way both images will be fetched which is not necessary.MDN picture to make images responsive.
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