Socket
Book a DemoInstallSign in
Socket

css-mq

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-mq

Analize CSS Media Queries

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

css

FAQs

Package last updated on 27 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts