stylecow-plugin-webkit-gradient

2.0.0 • Public • Published

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 bottomredblue);
}

And stylecow converts to:

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

More demos in the tests folder

Readme

Keywords

none

Package Sidebar

Install

npm i stylecow-plugin-webkit-gradient

Weekly Downloads

4

Version

2.0.0

License

MIT

Last publish

Collaborators

  • oscarotero