1.1.1 • Published 6 years ago
postcss-nope v1.1.1
PostCSS Nope
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