postcss-flexadapter

PostCss插件,使用最新的flexbox属性,兼容所有旧版属性(侧重于兼容移动端各安卓机器的历史版本)

Usage no npm install needed!

<script type="module">
  import postcssFlexadapter from 'https://cdn.skypack.dev/postcss-flexadapter';
</script>

README

postcss-flexadapter

NPM

Introduce

Install

当然,你需要先安装gulp

$ npm install --global gulp

然后安装插件。

//全局安装
$ npm install --global postcss-flexadapter

//局部安装
$ npm install --save-dev postcss-flexadapter

Usage

gulp.task('default', function() {
    var processors = [
        flexadapter
    ];
    gulp.src('./style.css')
        .pipe(postcss(processors))
        .pipe(gulp.dest('build/'));
});