I’ve been building a website for a client and am nearing the finish line, but i bumped in to some problems. I have a “gallery section” on the landing page which is supposed to enlarge the images on hover.
I’ve set the image to take up 40vw of space in the grid.
However, when I hover over the image it expands to 100vw before scaling down to 40vw. I can not figure out why. Any ideas?
Now on to the next problem. This works great on the left most images, since they expand to the right. But how can i get the right most images to expand to the left instead?