Skip to content

PostCSS plugin that lets you write 'nope' instead of 'none'

License

Notifications You must be signed in to change notification settings

dariopog/postcss-nope

Repository files navigation

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

About

PostCSS plugin that lets you write 'nope' instead of 'none'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •