I recreated this codepen by @suez in Webflow.
Create the following hierarchy:
<script>
$(document).ready(function() {
var $magic = $(".hover-div"),
magicWHalf = $magic.width() / 2;
$(document).on("mousemove", function(e) {
$magic.css({"left": e.pageX - magicWHalf, "top": e.pageY - magicWHalf});
});
});
</script>
Destin's Youtube channel Smarter Every Day is one of my favourite places on the web.