- 授权协议: MIT
- 开发语言: JavaScript HTML/CSS
- 操作系统: 跨平台
- 软件首页: https://github.com/postcss/autoprefixer
- 软件文档: https://github.com/postcss/autoprefixer/blob/master/README.md
- 官方下载: https://github.com/postcss/autoprefixer/archive/master.zip
软件介绍
Autoprefixer解析CSS文件并且添加浏览器前缀到CSS规则里,使用Can I Use的数据来决定哪些前缀是需要的。
所有你需要做的就是把它添加到你的资源构建工具(例如 Grunt)并且可以完全忘记有CSS前缀这东西。尽管按照最新的W3C规范来正常书写你的CSS而不需要浏览器前缀。像这样:
a{
transition :transform 1s
}Autoprefixer使用一个数据库根据当前浏览器的普及度以及属性支持提供给你前缀:
a{
-webkit-transition :-webkit-transform 1s;
transition :-ms-transform 1s;
transition :transform 1s
}介绍来自 cnblogs @三桂
