css-mq

0.0.2 • Public • Published

css-mq Build Status

Analize CSS Media Queries

Installation

$ npm install css-mq

Example

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

Readme

Keywords

Package Sidebar

Install

npm i css-mq

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • morishitter