Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 813 Bytes

readme.md

File metadata and controls

39 lines (30 loc) · 813 Bytes

Vendor prefixer plugin for JSS

This vendor prefixer knows which properties and values are supported in the current runtime and changes only whats required. The best thing is - you don't need to download all of them.Also it is very fast, all checks are cached. See example.

{
    '.container': {
        transform: 'translateX(100px)'
    }
}
.container {
    transform: -webkit-translateX(100px);
}

Register plugin

var jss = require('jss')
var vendorPrefixer = require('jss-vendor-prefixer')
jss.use(vendorPrefixer)

Run tests

Locally

npm i
open test/local.html

From github

Tests

License

MIT