0.1.0 • Published 9 years ago

gulp-rgbapng v0.1.0

Weekly downloads
10
License
MIT
Repository
github
Last release
9 years ago

gulp-rgbapng

Gulp plugin to convert "rgba" to "inline png" into css files. This is useful to apply an rgba background for IE8.

Usage

var rgbapng = require('gulp-rgbapng');

gulp.task('css', function () {
    return gulp.src('src/**/*.css')
    .pipe(rgbapng())
    .pipe('dest/');
});

How it work

This custom CSS property rgbapng(0, 0, 0, 0.5) will be replace by an inline png url('data:image/png;base64,{image-data}')