Skip to content
Stylecow plugin to add vendor prefixes automatically
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
README.md
caniuse.js
index.js
package.json

README.md

stylecow plugin prefixes

Build Status

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

You can’t perform that action at this time.