colorwave.js

Animated gradient backgrounds.

View the Project on GitHub

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