Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Why chrome download medium & small size image at the same time?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #206304
    riddickhou
    Participant

    As the responsive image, when I set the chrome to cell phone mode with screen size 340 X 640 px ratio 1, and monitor the data in the network, the medium & small size images download at the same time. Why would that happen?

    The code is as below.

    <picture id=”banner”>
    <source media=”(min-width: 750px)” srcset=”images/still_life-1600_large_2x.jpg 2x, images/still_life-800_large_1x.jpg” />
    <source media=”(min-width: 500px)” srcset=”images/still_life_medium.jpg” />
    Vase, fruit bowl and other objects on a cupboad
    </picture>

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.