Interactive Hover Effect In JavaScript – FollowCursor

Category: Animation , Javascript | October 5, 2017
Author: bersLucas
Views Total: 117
Official Page: Go to website
Last Update: October 5, 2017
License: MIT

Preview:

Interactive Hover Effect In JavaScript – FollowCursor

Description:

FollowCursor is a pure JavaScript library for creating an interactive, CSS3 based hover effect that reacts to where the user’s mouse is on the element.

How to use it:

Include reference to the FollowCursor at the bottom of the web page.

<script src="FollowCursor.js"></script>

Enable the hover effect on the images:

followCursor(document.querySelectorAll("img"));