Skip to content

matype/css-mq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Analize CSS Media Queries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published