vendor prefix css attributes
npm install vendor-prefixadd a vendor prefix to a css attribute
This is a fork from https://github.com/jkroso/prefix which is a fork of https://github.com/pgherveou/prefix
$ npm install vendor-prefix
``js`
var prefix = require('vendor-prefix');
Prefix key. This function memoizes its results so you don't need to worry about any performance issues, just treat it like a map.
`js`
prefix('transform'); // webkitTransform
prefix('color'); // color
Throw an error if the given string is not a css property.
create a dasherize version of a vendor prefix
`js`
prefix.dash('transform'); // -webkit-transform
prefix.dash('color'); // color
prefix.dash('background-color'); // background-color
Throw an error if the given string is not a css property.
$ npm install
$ npm run build
open a browser at test/index.html`