There is a challenge I'm facing that I need help solving. I am using a shop script that only allows me to edit the CSS file. Within this setup, there is a div with a background image and inside there is a normal image:
<style type="text/css">
.someclassforcss img{
some:attributes;
}
.someclassforcss {
background-image:url(/link.png);
}
</style>
<div class="someclassforcss">
<img src="/link2.png">
</div>
Everything seems fine, but I want to figure out a way to hide the background image of the div for mobile devices using media queries or any other method. The issue here is that media queries don't work for specific attributes, only for entire elements. So if I were to hide the div, my image would also be hidden, which is not the desired outcome.