A more complex example with nested responsive images. Click for another image and see for yourself below this black image. Resize/fullscreen your window to test the switching. Adjust the first image to see the DOM-mutation mechanism.