CSSLint抱怨这些规则未知:
@bulletproof-font-face {
font-family: "Computer Modern";
src: url('cmunss-webfont.woff') format('woff');
}
@bulletproof-font-face {
font-family: "Computer Modern";
src: url('cmunsi-webfont.woff') format('woff');
font-style: italic, oblique;
}
@bulletproof-font-face {
font-family: Arial;
src: url('arial-webfont.woff') format('woff');
}
@bulletproof-font-face {
font-family: Verdana;
src: url('verdana-webfont.woff') format('woff');
}
然而,例如,它认为这条规则没问题:
@bulletproof-font-face {
font-family: "Computer Modern";
src: url('cmunsx-webfont.woff') format('woff');
font-weight: bold;
}
我没有看到差异。为什么会这样做?
答案 0 :(得分:2)