gulp-html-autoprefixer
![gulp-html-autoprefixer](https://github.com/rebelmail/gulp-html-autoprefixer/raw/HEAD/../master/gulp-html-autoprefixer.png?raw=true)
Gulp plugin to Autoprefix all CSS inside an html page - CSS inside style tags and inside style attributes. Uses html-autoprefixer under the hood.
![NPM version](https://badge.fury.io/js/gulp-html-autoprefixer.png)
var gulp = require( "gulp" );
var htmlAutoprefixer = require( "gulp-html-autoprefixer" );
gulp.task( "html-autoprefix", function( ) {
return gulp.src( "./path/to/index-or-other.html" )
.pipe( htmlAutoprefixer( ) )
.pipe( gulp.dest( "dist" ) );
} );
Installation
npm install gulp-html-autoprefixer --save-dev
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request