How do you put an image in a container so that it stays in place as the width and height increase?
Good day! You need to implement such a slider https://drive.google.com/file/d/1vQy5BA_RY1u4EITYK .. .
At the moment, the problem is that I cannot properly center and / or create a container for the image. So that when you enlarge the container, the image remains as it was before the enlargement and in the same place.
You can do it like this https://codepen.io/leshiple/pen/wvWwQMN?editors=1100 a>Anonymous
Why resize the image, you can just crop it.
To place the code, please use CodePen or similar tool. Thanks you!