2.0.0 • Published 9 years ago

stylecow-plugin-webkit-gradient v2.0.0

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

stylecow plugin webkit-gradient

Build Status

Stylecow plugin to generate the css fallback code with the old webkit syntax for css gradients.

Note: this plugin does not add vendor prefixes to the new syntax, use stylecow-plugin-prefixes to do that.

You write:

body {
    background-image: linear-gradient(to bottom, red, blue);
}

And stylecow converts to:

body {
    background-image: -webkit-gradient(linear, left top, left bottom, from(red), to(blue));
    background-image: linear-gradient(to bottom, red, blue);
}

More demos in the tests folder