https://github.com/simbo/css-mqpacker-sort-mediaqueries
Sorts mediaqueries by min-width and/or max-width, ordered ascending (to be used as sort option value for postcss plugin css-mqpacker)
https://github.com/simbo/css-mqpacker-sort-mediaqueries
Last synced: over 1 year ago
JSON representation
Sorts mediaqueries by min-width and/or max-width, ordered ascending (to be used as sort option value for postcss plugin css-mqpacker)
- Host: GitHub
- URL: https://github.com/simbo/css-mqpacker-sort-mediaqueries
- Owner: simbo
- Created: 2018-02-18T18:38:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T23:23:37.000Z (about 8 years ago)
- Last Synced: 2025-02-23T20:37:37.051Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
css-mqpacker-sort-mediaqueries
==============================
> Sorts mediaqueries by min-width and/or max-width, ordered ascending
> (to be used as *sort* option value for postcss plugin css-mqpacker)
📖 See
[css-mqpacker documentation](https://github.com/hail2u/node-css-mqpacker)
to read more about its usage and the
[*sort* option](https://github.com/hail2u/node-css-mqpacker#sort).
Example:
``` js
const cssMqpacker = require('css-mqpacker');
const sortMediaqueries = require('css-mqpacker-sort-mediaqueries');
cssMqpacker({
sort: sortMediaqueries
});
```