Skip to content

Gulp plugin to Autoprefix all CSS inside an html page - CSS inside style tags and inside style attributes. Uses html-autoprefixer under the hood.

Notifications You must be signed in to change notification settings

tonix-tuft/tonix-gulp-html-autoprefixer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tonix-gulp-html-autoprefixer

This package is a fork of the original gulp-html-autoprefixer repo.

This fork comes with updated NPM packages.

The original README.md follows below this paragraph.

gulp-html-autoprefixer

gulp-html-autoprefixer

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

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Gulp plugin to Autoprefix all CSS inside an html page - CSS inside style tags and inside style attributes. Uses html-autoprefixer under the hood.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%