寫標準的代碼后 使用工具添加內(nèi)容兼容
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
寫標準的代碼后 使用工具添加內(nèi)容兼容
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