I'm working with some images with a zoom effect using transform: scale(x);
. But when zooming, especially on the mobile, the image goes beyond the side container.
So it does not appear in itself but its size surpasses generating that lateral vacuum that makes it possible to pull the screen sideways and is left blank, and overflow: hidden;
is not solving.
Does anyone know any other way to hide this?
.hoverzoom:hover > img {
transform: scale(1.5);
overflow-y: hidden !important;
overflow-x: hidden !important;
}