選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit 3年前
..
dist First Commit 3年前
lib First Commit 3年前
tests First Commit 3年前
.babelrc First Commit 3年前
.env First Commit 3年前
.eslintrc First Commit 3年前
.npmignore First Commit 3年前
.travis.yml First Commit 3年前
LICENSE First Commit 3年前
browsers.json First Commit 3年前
changelog.md First Commit 3年前
karma.conf.js First Commit 3年前
package.json First Commit 3年前
readme.md First Commit 3年前
tests.html First Commit 3年前
tests.webpack.js First Commit 3年前
webpack.config.js First Commit 3年前

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