node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

valid-css-props

Valid CSS Props

Check for the validity of a CSS property name.

npm install valid-css-props

API

var isValidCSSProp = require('validCSSProps');
 
isValidCSSProp('background-color'); // => true 
isValidCSSProp('abc'); // => false 
isValidCSSProp('-webkit-transition'); // => true 

License

MIT.