Keeping the height of the image while changing the height of the absolute container
Hello everyone, It will actually look like the before and after image (when hovering), but I want it to vertically and from top to bottom. Meanwhile, I want the image not to shrink. As you can see in the attached image, the color image and the black and white image are not aligned. I am sharing the code below, I use it with Swiper JS.