Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit 4 anos atrás
..
dist First Commit 4 anos atrás
lib First Commit 4 anos atrás
tests First Commit 4 anos atrás
.babelrc First Commit 4 anos atrás
.env First Commit 4 anos atrás
.eslintrc First Commit 4 anos atrás
.npmignore First Commit 4 anos atrás
.travis.yml First Commit 4 anos atrás
LICENSE First Commit 4 anos atrás
browsers.json First Commit 4 anos atrás
changelog.md First Commit 4 anos atrás
karma.conf.js First Commit 4 anos atrás
package.json First Commit 4 anos atrás
readme.md First Commit 4 anos atrás
tests.html First Commit 4 anos atrás
tests.webpack.js First Commit 4 anos atrás
webpack.config.js First Commit 4 anos atrás

readme.md

Build Status

CSS vendor prefix detection and property feature testing.

Vendor prefixes

console.log(cssVendor.prefix.js) // e.g. WebkitTransform

console.log(cssVendor.prefix.css) // e.g. -webkit-transform

Property support feature test

cssVendor.supportedProperty(prop)

Test if property is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.

console.log(cssVendor.supportedProperty('animation')) // e.g. -webkit-animation

Value support feature test

cssVendor.supportedValue(prop, value)

Test if value is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.

console.log(cssVendor.supportedValue('display', 'flex')) // e.g. -webkit-flex

Run tests

npm i
npm test

License

MIT