I have the following structure:
<div class="bg">
<img src="view/img/planta-supermercado.png" id="bg">
<div class="bg-scroll" id="bg-scroll">
<img src="view/img/planta-supermercado.png" id="bg-mobile">
</div>
</div>
When opening the page by mobile, it loads the div with the id bg-scroll
What I need is for the image to be 100% in height and proportional in width (the width is greater than the height) ... and for that to happen I should create a horizontal scroll only in the image (or div bg-scroll
) so that the user can see the whole image.
Thank you!