Next/Image responsiveness
Unanswered
James4u posted this in #help-forum
James4uOP
https://nextjs.org/learn/dashboard-app/optimizing-fonts-images
I recently reviewed this page from official website and have question indeed.
In the example code, they are switching display property of two image instance for mobile and desktop (screenshot attached).
I was thinking setting correct sizes attribute of image tag is the correct way to implement responsive image.
I would like to hear from your thoughts.
Thanks.
I recently reviewed this page from official website and have question indeed.
In the example code, they are switching display property of two image instance for mobile and desktop (screenshot attached).
I was thinking setting correct sizes attribute of image tag is the correct way to implement responsive image.
I would like to hear from your thoughts.
Thanks.