0.1.3 • Published 8 years ago

l0-gulp-css-wrap v0.1.3

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

gulp-css-wrap

gulp plugin to wrap CSS rules in a namespace, using css-wrap

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev gulp-css-wrap

Usage

Options are directly passed to the css-wrap constructor so all the css-wrap options are available.

var cssWrap = require('gulp-css-wrap');

gulp.task('css-wrap', function() {
  return gulp.src('src/*.css')
    .pipe(cssWrap({selector:'.my-app'}))
    .pipe(gulp.dest('dist'));
});