🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

lightSweep.js is a jQuery plugin which applies an animated light sweep effect to any DOM elements using CSS transform, transition, mask, and filter properties.

Light-Sweep

Documentation

lightSweep.js

This is a jQuery function that generates animated 'light sweep' effect on a selected element.

Documentation

Add the jquery.lightSweep.js and lightSweep.css to your document along with jQuery library:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>

<script type="text/javascript" src="_js/jquery.lightSweep.js"></script>

<link href="_css/jquery.lightSweep.css" rel="stylesheet" type="text/css">

Usage

lightSweep('#elementID','duration [s]');

example: lightSweep('#banner','3s');

Demo on CodePen

https://codepen.io/DeYo71/pen/dVKaXe


You May Also Like