question about part of images, part Supporting High-density Screens
why we should provide different versions of image for different high-density screen?
for example, the “srcset” tag provides an image for 1x, 2x, 3x, …
<img
src="photo/gallery/[email protected]"
alt=""
srcset="photo/gallery/[email protected] 1x,
photo/gallery/[email protected] 2x,
photo/gallery/[email protected] 3x"
/>
can I provide one image with high resolution for all screens?
and then give it a width with a relative unit like rem and allow the browser resize the image itself