Does this help?

https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/