const imgContent = document.querySelectorAll(‘.img-content-hover’);
$(function() {
$(“.img-container”).mousemove(function(e) {
for(var i = 0; i < imgContent.length; i++) {
x = e.pageX;
y = e.pageY;
imgContent[i].style.transform = `translate3d(${x}px, ${y}px, 0)`;
}
})
});