jquery mouse follow with image

image to mouse cursor using jQuery,you can add trailing image to mouse cursor movement using jQuery

by johannpickard

HTML

<img class="logo" src="//ssl.gstatic.com/images/logos/google_logo_41.png" alt="Google">

JavaScript

$(document).mousemove(function(e) {
    $('.logo').offset({
        left: e.pageX,
        top: e.pageY + 20
    });
});