Autoprefixer 7.0.0 发布了,Autoprefixer 解析 CSS 文件并且添加浏览器前缀到 CSS 规则里,使用 Can I Use 的数据来决定哪些前缀是需要的。它由谷歌推荐,并目前在 Twitter 和淘宝上使用。
更新内容:
移除对 node.js 0.12 的支持
使用 PostCSS 6.0.
使用 Browserslist 2.
使用 caniuse-lite 替代 caniuse-db
使用 ^ 作为 Browserslist 依赖关系而不是 ~.
使用 Babel 重写项目(原来是 CoffeeScript)
默认情况下禁用 IE 的网格布局前缀
修复 -ms-grid-column-align.
移动 tests 至 Jest
软件详情:https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md
下载地址:https://github.com/postcss/autoprefixer/archive/7.0.0.zip
来自:开源中国社区

