gulp-autoprefixer

Autoprefixer for gulp.

npm install gulp-autoprefixer
346 downloads in the last day
1 869 downloads in the last week
8 427 downloads in the last month

gulp-autoprefixer

Autoprefixer for gulp.

var prefix = require('gulp-autoprefixer');

Examples

gulp.src('./css/*.css')
  .pipe(prefix("last 1 version", "> 1%", "ie 8", "ie 7"))
  .pipe(gulp.dest('./dist/'));
gulp.src('./css/*.css')
  .pipe(prefix({ cascade: true }))
  .pipe(gulp.dest('./dist/'));
gulp.src('./css/*.css')
  .pipe(prefix("last 1 version", "> 1%", "ie 8", "ie 7", { cascade: true }))
  .pipe(gulp.dest('./dist/'));
gulp.src('./css/*.css')
  .pipe(prefix(["last 1 version", "> 1%", "ie 8", "ie 7"]))
  .pipe(gulp.dest('./dist/'));
gulp.src('./css/*.css')
  .pipe(prefix(["last 1 version", "> 1%", "ie 8", "ie 7"], { cascade: true }))
  .pipe(gulp.dest('./dist/'));

License

MIT

npm loves you