Hi, is it possible to set a fixed height to something like 90% of the viewport, and have the image scale down accordingly, with scrollbars horizontally, for example to better show a zoomed panorama. I'm almost able to achieve this with an iframe type, if I set the href to the larger image, and then use web inspector to set object-fit: scale-down; height: 100%; directly to the IMG then it seems to work, but I'm not sure how to achieve this normally.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, is it possible to set a fixed height to something like 90% of the viewport, and have the image scale down accordingly, with scrollbars horizontally, for example to better show a zoomed panorama. I'm almost able to achieve this with an iframe type, if I set the
hrefto the larger image, and then use web inspector to setobject-fit: scale-down; height: 100%;directly to theIMGthen it seems to work, but I'm not sure how to achieve this normally.Thanks!
The text was updated successfully, but these errors were encountered: