2.0.0 • Published 9 years ago
stylecow-plugin-webkit-gradient v2.0.0
stylecow plugin webkit-gradient
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