stylecow-plugin-prefixes
v6.0.5
Published
Stylecow plugin to add vendor prefixes automatically.
Downloads
90
Readme
stylecow plugin prefixes
Stylecow plugin to add automatically all vendor prefixes needed. It uses the caniuse database to get the data about the browsers support.
You write:
.foo {
user-select: none;
hyphens: auto;
transition: background-color 2s;
}
And stylecow converts to:
.foo {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
-moz-hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
-moz-transition: background-color 2s;
-webkit-transition: background-color 2s;
-o-transition: background-color 2s;
transition: background-color 2s;
}
More demos in the tests folder