Design comparison
SolutionDesign
Solution retrospective
I couldn't really use two different sources for my image using <Image/>
from Next.js, i just changed the object-fit via media queries.
Community feedback
- @snowbot22Posted about 1 year ago
Hi you can switch between images with the HTML label <picture>. This label help you a lot when you want to swicht images in differents widths, to see how to use it read this MDN article. https://developer.mozilla.org/es/docs/Web/HTML/Element/picture
0
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