postcss-display-inline-block
v1.0.0
Published
PostCSS plugin to add display:inline-block hacker for IE8
Downloads
8
Maintainers
Readme
PostCSS Display-inline-block
PostCSS PostCSS plugin to add hacker for IE8.
Use for gulp
var gulp = require('gulp');
var postcss = require('gulp-postcss');
gulp.task('default', function() {
return gulp.src('src/**/*.css')
.pipe(postcss([require('postcss-display-block')]))
.pipe(gulp.dest('build/'));
});
For example
/* Input example */
.display_inline_block {
display: inline-block;
}
/* Output example */
.display_inline_block {
display: inline-block;
*display: inline;
*zoom: 1;
}
or
/* Input example */
.display_inline_block {
display: inline-block;
*zoom:1;
}
/* Output example */
.display_inline_block {
display: inline-block;
*display: inline;
*zoom: 1;
}
or
/* Input example */
.display_inline_block {
display: inline-block;
*display: inline;
}
/* Output example */
.display_inline_block {
display: inline-block;
*display: inline;
*zoom: 1;
}
license
MIT