我有一个像这样的CSS代码
@font-face {
font-family: "Oswald";
font-style: normal;
font-weight: 400;
src: local("Oswald Regular"), local("Oswald-Regular"), url("http://themes.googleusercontent.com/static/fonts/oswald/v8/-g5pDUSRgvxvOl5u-a_WHw.woff") format("woff");
}
在此代码中,url显示.woff文件的位置。我想看看themes.googleusercontent.com/static/fonts/
当我在网址themes.googleusercontent.com/static/fonts/
The requested URL /static/fonts/ was not found on this server.
时
那我可以在哪里进入谷歌并查看所有可用的字体。所以我想在样式表中链接并使用它们。
我在谷歌搜索但不是很清楚
答案 0 :(得分:2)
@font-face
{
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: url('http://themes.googleusercontent.com/static/fonts/oswald/v8/-g5pDUSRgvxvOl5u-a_WHw.eot?') format('eot'), url('http://themes.googleusercontent.com/static/fonts/oswald/v8/-g5pDUSRgvxvOl5u-a_WHw.woff') format('woff'), url('http://themes.googleusercontent.com/static/fonts/oswald/v8/-g5pDUSRgvxvOl5u-a_WHw.ttf') format('truetype');
}