Skip to content

stylecow/stylecow-plugin-prefixes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Stylecow plugin to add vendor prefixes automatically

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published