@kleeblattdevSubmitted almost 2 years ago
It would be really helpful, if someone could try to explain me how to use the img srcset, because it does not work. I looked it up on mdn and thought that I build it like the example...
It would be really helpful, if someone could try to explain me how to use the img srcset, because it does not work. I looked it up on mdn and thought that I build it like the example...
use this example you should get it from there (insert your image url) <picture> <source media="max-width: 600px" srcset="/images/image-header-mobile.jpg" /> <source media="min-width: 600px" srcset="/images/image-header-desktop.jpg" /> <img src="/images/image-header-mobile.jpg" class="pix" alt="" />
</picture>