【问题标题】:Autoprefixer not adding prefix for IEAutoprefixer 不为 IE 添加前缀
【发布时间】:2015-02-22 04:58:47
【问题描述】:

我正在尝试在我的项目中使用 Grunt-Autoprefixer,但它没有为 IE9 转换添加前缀 -ms- http://caniuse.com/#search=transform

我的浏览器列表数组中有 IE Explorer >= 8

browsers: [ "Android 2.3", "Android >= 4", "Chrome >= 20", "Firefox >= 24", "Explorer >= 8", "iOS >= 6", "Opera >= 12", "Safari >= 6" ]

然而,transform: whatever 变成了

transform: whatever -webkit-transform: whatever

我错过了什么?

【问题讨论】:

    标签: gruntjs autoprefixer


    【解决方案1】:

    尝试使用这个 postcss/autoprefixer

    【讨论】:

    • 很高兴听到这个消息。我也刚开始用。
    • 这些软件包都不适合我,-ms-transform 仍然没有被添加。
    • 通过此参考阅读文章“禁用”。我猜 autoprefixer:挡住你的路。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-01-05
    • 2016-01-07
    • 1970-01-01
    • 2020-04-11
    • 2017-07-23
    • 1970-01-01
    相关资源
    最近更新 更多