postcss-grouper

0.0.5 • Public • Published

PostCSS Grouper

NPM version Travis Codecov

A plugin that'll group selectors you want together. My effort to have sexier css on the web.

Install

npm i postcss-grouper -D

Usage

var postcssGrouper = require('postcss-grouper');
postcss([
    postcssGrouper({
        group: [/html/]
    })
]);
Before After
html { color: black; }
.foo { color: white; }
html { margin-top: 10px; }
html { color: black; }
html { margin-top: 10px; }
.foo { color: white; }

/postcss-grouper/

    Package Sidebar

    Install

    npm i postcss-grouper

    Weekly Downloads

    0

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • marais