Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 515 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 515 Bytes

cssortie

CSS sorting rules. Good friend with postcss-sorting.

The rules base on bootstrap V4 PropertySortOrder.

Installation

$ npm install --save-dev cssortie

Usage

Firstly, you have to install postcss and postcss-sorting.

Next, set postcss options:

var sorting = require('postcss-sorting')

postcss([
  sorting({ 'sort-order': require('cssortie') })
]))

License

MIT