Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/judas-christ/postcss-sort

PostCSS plugin for sorting properties
https://github.com/judas-christ/postcss-sort

Last synced: about 1 month ago
JSON representation

PostCSS plugin for sorting properties

Awesome Lists containing this project

README

        

# postcss-sort

PostCSS plugin for sorting properties

## Usage

```js
postcss([ require('postcss-sort') ])
```

See [PostCSS] docs for examples for your environment.

By default, properties are sorted alphabetically. If you want to sort them another way, you can supply your own sorting function.

```js
var sort = require('postcss-sort')(sortingFunction);
```

[PostCSS]: https://github.com/postcss/postcss