I'm trying to choose between two images in srcset: if screen is less than 1120px I want to get image_a.jpg; if it is bigger, I want image_b.jpg. I'm trying to figure out how to do this, but reading the documentation I can't get a precise idea. It should be easy, my best try is:
<div
src="image_a.jpg"
srcset="image_b.jpg 1121px"
alt="My image">
Does anyone know how to do this?