Is there a way to import an image only if the screen resolution is greater than 700px?
HTML:
<picture>
<img id="logo_mobile">
<!-- I have also tried this -->
<source srcset="logomobile.jpg" media="(min-width: 700px)"
</picture>
CSS:
#logo_mobile {
background-image: url('logomobile.jpg');
}
Both attempts have failed to work. Any suggestions?