Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit před 3 roky
..
dist First Commit před 3 roky
lib First Commit před 3 roky
tests First Commit před 3 roky
.babelrc First Commit před 3 roky
.env First Commit před 3 roky
.eslintrc First Commit před 3 roky
.npmignore First Commit před 3 roky
.travis.yml First Commit před 3 roky
LICENSE First Commit před 3 roky
browsers.json First Commit před 3 roky
changelog.md First Commit před 3 roky
karma.conf.js First Commit před 3 roky
package.json First Commit před 3 roky
readme.md First Commit před 3 roky
tests.html First Commit před 3 roky
tests.webpack.js First Commit před 3 roky
webpack.config.js First Commit před 3 roky

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