Skip to content

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

License

Notifications You must be signed in to change notification settings

lukac-dejan/lightSweep.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published