您的位置:首页 > Web前端 > CSS

解决css3兼容各个浏览器的前缀

2015-06-12 15:17 363 查看
1、emmet生成

2、用编辑器插件: 如sublime text 的 autoprefixer自动添加兼容前缀 基于nodejs 需要安装nodejs (这个效果不佳,本人测试貌似只添加-webkit-的前缀 - -)

3、用grunt插件 grunt-autoprefixer 参考链接:http://www.w3cplus.com/css3/autoprefixer-css-vender-prefixes.html

4、引入js<script src=”http://leaverou.github.com/prefixfree/prefixfree.min.js”></script>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: