https://github.com/matype/css-mq
Analize CSS Media Queries
https://github.com/matype/css-mq
Last synced: 9 months ago
JSON representation
Analize CSS Media Queries
- Host: GitHub
- URL: https://github.com/matype/css-mq
- Owner: matype
- License: other
- Created: 2014-06-16T06:13:38.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-27T04:16:55.000Z (about 12 years ago)
- Last Synced: 2025-02-08T01:46:20.874Z (over 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
- License: LICENSE
Awesome Lists containing this project
README
# css-mq [](https://travis-ci.org/morishitter/css-mq)
Analize CSS Media Queries
## Installation
```shell
$ npm install css-mq
```
## Example
```javascript
var mq = require('css-mq')
var css = "@media screen and (max-width: 1000px) {#container{width : 95%;}}"
mq.media(css)
// ["screen and (max-width: 1000px)"]
mq.borders(css)
// ["1000px"]
```
## License
The MIT License (MIT)
Copyright (c) 2014 Masaaki Morishita