Interactive Hover Effect In JavaScript – FollowCursor

Category: Animation , Javascript | October 10, 2018
Author: bersLucas
Views Total: 497 views
Official Page: Go to website
Last Update: October 10, 2018
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.

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

You Might Be Interested In:


Leave a Reply