红联Linux门户
Linux帮助

Autoprefixer 6.0发布,浏览器前缀处理工具

发布时间:2015-09-08 09:20:48来源:红联作者:empast
Autoprefixer 解析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

软件详情:https://github.com/postcss/autoprefixer/releases/tag/6.0.0

来自:开源中国社区
文章评论

共有 0 条评论