valid-media-queries
Check for the validity of a CSS media query.
Last updated 10 years ago by crmarsh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install valid-media-queries 
SYNC missed versions from official npm registry.

Valid Media Queries

Check for the validity of a CSS media query. Based on the valid-css-props module by chenglou.

npm install valid-media-queries

API

var isValidMediaQuery = require('valid-media-queries');

isValidMediaQuery('@media tv and (monochrome), only screen'); // => true
isValidMediaQuery('@media not thing  and (max-height : 50px)'); // => false

License

MIT.

Current Tags

  • 0.0.3                                ...           latest (10 years ago)

3 Versions

  • 0.0.3                                ...           10 years ago
  • 0.0.2                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE