Author: | bersLucas |
---|---|
Views Total: | 565 views |
Official Page: | Go to website |
Last Update: | October 10, 2018 |
License: | MIT |
Preview:

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.
Install & Import:
# Yarn $ yarn add followcursor # NPM $ npm install followcursor --save
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"));
Changelog:
v1.1.0 (10/10/2018)
- NPM support