Hi,
I'm trying to make an image gallery where the big image is transformed based on the thumbnail getBoundingClientRect() values. But I'm having trouble with the y transform value, I get the correct difference value but the scaling makes it look out of place.
Check my Pen and u will see what I mean.
See the Pen VXMxKr?editors=0010 by ReGGae (@ReGGae) on CodePen