JQuery MouseMove on triggered element
Solution 1:
The problem is with the document. It's targeting the whole page whereas what you need is to focus it on .Post_container
since its the container of your image. That's pretty much it.
$(".Post_container").mousemove(function(e){ //======> replaced document with container class
$('.mousePointer').css({left:e.pageX, top:e.pageY})
})
Hope it helps :)