Skip to content

A reverse engineered, and simplified javascript library to replicate the animated Stripe gradients.

Notifications You must be signed in to change notification settings

thelevicole/stripe-gradient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripe Gradient

A reverse engineered, and simplified javascript library to replicate the animated Stripe gradients.

Basic usage

HTML

<canvas id="my-canvas-id"></canvas>

JavasScript

new Gradient({
    canvas: '#my-canvas-id',
    colors: ['#a960ee', '#ff333d', '#90e0ff', '#ffcb57']
});

jQuery ready

$('#my-canvas-id').gradient({
    colors: ['#a960ee', '#ff333d', '#90e0ff', '#ffcb57']
});

About

A reverse engineered, and simplified javascript library to replicate the animated Stripe gradients.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published