webpack4+学习笔记:2. css属性自动追加前缀 与 mini-css-extract-plugin 插件 打包冲突问题
postcss-loader 简单来来说就是 css3 的一些特性 在低版本浏览器也能运行,自动添加加前缀
如图 就是 postcss-loader 的杰作
源码
<style lang="stylus" scoped>
.home{
width 100%
height 200px
background #ff9900
display flex
justify-content space-between
padding 20px
.wb{
color #fff
font-size 20px
}
}
</style>