# media-queries

> CSS media queries based on Zurb's Foundation breakpoints

Latest version **1.0.5** (published 2016-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install media-queries
pnpm add media-queries
yarn add media-queries
bun add media-queries
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2016-06-22 |
| First published | 2016-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Rafael Rinaldi |
| Maintainers | rafaelrinaldi |
| Keywords | breakpoints, css, defaults, media-queries, style |

## Links

- npm: https://www.npmjs.com/package/media-queries
- Repository: https://github.com/rafaelrinaldi/media-queries
- Issues: https://github.com/rafaelrinaldi/media-queries/issues
- npm.io page: https://npm.io/package/media-queries

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-06-22
- 1.0.4 — 2016-03-06
- 1.0.3 — 2016-03-06
- 1.0.2 — 2016-03-06
- 1.0.1 — 2016-03-06
- 1.0.0 — 2016-03-06

## README

[url]: http://rinaldi.io
[zurb-foundation]: https://foundation.zurb.com
[cssnext]: http://cssnext.io
[myth]: http://www.myth.io
[spec]: https://drafts.csswg.org/mediaqueries/#mq-ranges

# media-queries [![Build Status](https://semaphoreci.com/api/v1/rafaelrinaldi/media-queries/branches/master/badge.svg)](https://semaphoreci.com/rafaelrinaldi/media-queries)

> CSS media queries based on [Zurb's Foundation][zurb-foundation] breakpoints

## Install

```sh
$ npm install media-queries --save
```

## Usage

```css
/* Import the library */
@import 'media-queries';

/* Then you can use available breakpoints */
@media (--large-up) {
  /* ... */
}
```

## Values

| Alias | Value |
|--- |--- |
| `small-up` | `0` |
| `small-only` | `0` → `39.9375em` |
| `medium-up` | `40em` |
| `medium-only` | `40em` → `63.9375em`
| `large-up` | `64em` |
| `large-only` | `64em` → `74.9375em` |
| `xlarge-up` | `75em` |
| `xlarge-only` | `75em` → `89.9375em` |
| `xxlarge-up` | `90em` |

## Notes

Values are exported as [media queries ranges][spec], using `@custom-media`. That's a future specification so you'll probably need a `/p(re|ost)\s?\-?processor/i`. Both [cssnext][cssnext] and [myth][myth] are really great options.

## License

MIT © [Rafael Rinaldi][url]

---
_Source: https://npm.io/package/media-queries · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
