//安装脚手架
npm install postcss-cli autoprefixer --save-dev
// postcss.config.js
module.exports = {
plugins: {
autoprefixer: {}
}
}
某些旧浏览器可能不支持某些CSS样式和属性。为了解决这个问题,我们可以使用autoprefixer等工具自动添加兼容性前缀。

//安装脚手架
npm install postcss-cli autoprefixer --save-dev
// postcss.config.js
module.exports = {
plugins: {
autoprefixer: {}
}
}
某些旧浏览器可能不支持某些CSS样式和属性。为了解决这个问题,我们可以使用autoprefixer等工具自动添加兼容性前缀。
为了本站的长期运营,请将我们的网站加入广告拦截器的白名单或关闭插件,感谢您的支持!