Skip to content
This repository has been archived by the owner. It is now read-only.
JSS plugin, adds vendor prefixes at runtime, in the browser (not for SSR) (Migrated to a Monorepo it JSS repository)
JavaScript HTML
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.
src
.babelrc
.eslintrc
.gitignore
.npmignore
LICENSE
changelog.md
karma.conf.js
package-lock.json
package.json
readme.md
tests.html
tests.webpack.js
webpack.config.js

readme.md

JSS plugin that handles vendor prefixes in the browser

Gitter

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.

Example

const styles = {
  container: {
    transform: 'translateX(100px)'
  }
}

Compiles to:

.jss-0-0 {
  transform: -webkit-translateX(100px);
}

Issues

File a bug against cssinjs/jss prefixed with [jss-vendor-prefixer].

Run tests

npm i
npm run test

License

MIT

You can’t perform that action at this time.