这是我的CSS代码:
这是我在Chrome浏览器中看到的消息: 无法解码已下载的字体:http://localhost:3000/Geometria-Light-webfont.woff2 localhost /:1 OTS解析错误:无效的版本标签 localhost /:1 无法解码已下载的字体:http://localhost:3000/Geometria-Light-webfont.woff 我在使用Font Squirrel下载每种字体时都会遇到此问题。
@font-face {
font-family: 'geometria_lightlight';
src: url('Geometria-Light-webfont.eot');
src: url('Geometria-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('Geometria-Light-webfont.woff2') format('woff2'),
url('Geometria-Light-webfont.woff') format('woff'),
url('Geometria-Light-webfont.ttf') format('truetype'),
url('Geometria-Light-webfont.svg#geometria_lightlight') format('svg');
font-weight: lighter;
font-style: normal;
}
#logo{
font-family: 'geometria_lightlight';
font-size: 60px;
}
这是我在Chrome浏览器中看到的消息: 无法解码已下载的字体:http://localhost:3000/Geometria-Light-webfont.woff2 localhost /:1 OTS解析错误:无效的版本标签 localhost /:1 无法解码已下载的字体:http://localhost:3000/Geometria-Light-webfont.woff 我在使用Font Squirrel下载每种字体时都会遇到此问题。