0

我在我的 css 上加载了两种带有 font-face 的字体。第一种字体适用于 IE7/8,第二种则不适用。两种字体的 css 代码相同。知道如何解决吗?:(

这是html页面:http ://canapin.com/web/fonts.html

和CSS:http ://canapin.com/web/fonts.html

@font-face {
    font-family: 'nexa_bold';
    src: url('./fonts/Nexa Bold.eot?');
    src: url('./fonts/Nexa Bold.woff') format('woff'),
         url('./fonts/Nexa Bold.ttf') format('truetype'),
         url('./fonts/Nexa Bold.svg') format('svg');
}
@font-face {
    font-family: 'signika';
    src: url('./fonts/Signika-Regular.eot?');
    src: url('./fonts/Signika-Regular.woff') format('woff'),
         url('./fonts/Signika-Regular.ttf') format('truetype'),
         url('./fonts/Signika-Regular.svg') format('svg');
}

h1 {
    font-family: 'nexa_bold';
}

h1.alt {
    font-family: 'signika';
}
4

0 回答 0