我怎么知道nib不要为我不想支持的浏览器生成前缀?
最佳答案
只需在手写笔源代码中的@import 'nib'
之前分配变量vendor-prefixes
。您可以检查默认值 in the source .
例如:
vendor-prefixes ?= webkit moz official
@import 'nib'
div
background linear-gradient(red, blue)
产量:
div {
background: -webkit-linear-gradient(#f00, #00f);
background: -moz-linear-gradient(#f00, #00f);
background: linear-gradient(#f00, #00f);
}
关于css - 如何配置 nib 使用的供应商前缀?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19487824/