写标准的代码后 使用工具添加内容兼容
npm install -g postcss
npm install -g postcss-cli
npm install -g autoprefixer
使用命令
postcss使用autoprefixer 自动的 在当前目录下的(-r) dist/css/* 所有文件添加前缀
postcss -u autoprefixer -r dist/css/*
postcss -u autoprefixer -r test.css
写标准的代码后 使用工具添加内容兼容
npm install -g postcss
npm install -g postcss-cli
npm install -g autoprefixer
使用命令
postcss使用autoprefixer 自动的 在当前目录下的(-r) dist/css/* 所有文件添加前缀
postcss -u autoprefixer -r dist/css/*
postcss -u autoprefixer -r test.css