postcss-nope

1.1.1 • Public • Published

PostCSS Nope Build Status

Without any doubt the best PostCSS plugin in the world! It lets you write nope instead of none.

Usage

Install PostCSS Nope via npm:

npm install postcss-nope --save-dev

Include it in your build pipeline (for example using Gulp):

var gulp = require('gulp');
var postcss = require('postcss');
var nope = require('postcss-nope');
 
gulp.task('css', function () {
    return gulp.src([
            'src/css/index.css'
        ])
        .pipe(postcss([
            nope()
        ]))
        .pipe(gulp.dest('dist/css'));
});

Write the coolest CSS rules in the world:

.foo {
    display: nope;
}

PS: it works with any CSS property, not only with display!

License

MIT © @dariopog

Package Sidebar

Install

npm i postcss-nope

Weekly Downloads

0

Version

1.1.1

License

MIT

Last publish

Collaborators

  • dariopog