Autoprefixer 6.0 发布,浏览器前缀处理工具
欢迎加入运维网交流群:263444886Autoprefixer 解析CSS文件并且添加浏览器前缀到CSS规则里,使用Can I Use的数据来决定哪些前缀是需要的。
所有你需要做的就是把它添加到你的资源构建工具(例如 Grunt)并且可以完全忘记有CSS前缀这东西。尽管按照最新的W3C规范来正常书写你的CSS而不需要浏览器前缀。
Autoprefixer 6.0“Eureka”发布,此版本使用 PostCSS 5.0 和 Browserslist 1.0,还有大量的新修复。
Autoprefixer 6.0 最大的修复是移除了 CLI,加入 autoprefixer 和 autoprefixer-core 包。把 package.json 用autoprefixer 替换 autoprefixer-core。
Autoprefixer 官方 CLI 是 postcss-cli。
详细改进内容请看发行说明,下载:
https://github.com/postcss/autoprefixer/archive/6.0.0.zip
页:
[1]