image follow mouse cursor pointer

image follow mouse cursor pointer

Table of Contents

 

    <div class="pointer"> <img src="https://thumbs.gfycat.com/AmusingFriendlyBarasingha-size_restricted.gif" class="gif" alt=""> </div>
 $(document).mousemove(function (e) {
            $(".pointer").css({ left: e.pageX, top: e.pageY });
        });

 

Also Read 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

No data found.