I want to download the 80w image on screens with a max-width of 991px and the 160w image on screens with a min-width of 992px.
With the code below both images are downloaded on screens with a max-width of 991px, what is wrong?
<img src="img-160.jpg"
srcset="img-160.jpg 160w, img-80.jpg 80w"
sizes="(max-width: 991px) 80px, (min-width: 992px) 160px">