|
|
před 3 roky | |
|---|---|---|
| .. | ||
| dist | před 3 roky | |
| lib | před 3 roky | |
| .babelrc | před 3 roky | |
| .eslintrc | před 3 roky | |
| LICENSE | před 3 roky | |
| changelog.md | před 3 roky | |
| karma.conf.js | před 3 roky | |
| package.json | před 3 roky | |
| readme.md | před 3 roky | |
| tests.html | před 3 roky | |
| tests.webpack.js | před 3 roky | |
| webpack.config.js | před 3 roky | |
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.
Make sure you read how to use plugins in general.
const styles = {
container: {
transform: 'translateX(100px)'
}
}
Compiles to:
.jss-0-0 {
transform: -webkit-translateX(100px);
}
File a bug against cssinjs/jss prefixed with [jss-vendor-prefixer].
npm i
npm run test
MIT