Skip to content

rmitchellnet/colorwave.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colorwave.js is a simple library for adding smooth scrolling to a website.

Basic Usage

greensock is required and must be loaded before colorwave.js

var colorwave = new Colorwave('.element');
colorwave.start();

Options

options description default
direction css linear gradient direction property to left bottom
colorA first color in the gradient #f02fc2
colorB second color in the gradient #6094ea

Examples

Basic

Basic 2

Form

Releases

No releases published

Packages

No packages published