0.9.9 • Published 9 years ago

grady v0.9.9

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Grady

Grady creates gradients in CSS, SVG, and Canvas format from a standard syntax.

Installing

Usage

Include grady.js in your HTML:

<script src="grady.js"></script>

Create a gradient with Grady using the standard syntax:

var gradient = 'linear-gradient(to top right, #24c6dc, #514a9d)';
var grady = Grady(gradient);
var css = grady.css();
var svg = grady.svg();
var canvas = grady.canvas(300, 200);

Browser support

License

Grady is provided under the MIT license.

Credits

Grady is a project by Ivan Malopinsky.