我遇到了字体问题,正是“@font-face”。当我尝试运行此本地 HTML 页面时,所有字体都有效,但现在当我尝试运行在线 HTML 页面时,只有一种字体有效。
现在我有两种字体,一种工作,另一种没有
CSS:
@font-face {
font-family: 'RemachineScript';
src: url(fonts/SCRIPTIN.ttf);
}
@font-face {
font-family: 'Quicksand';
src: url(fonts/Quicksand.otf);
}
header#subheader div.title {
font-family: 'RemachineScript';
}
header#subheader p.subheader {
font-family: 'Quicksand';
}
您可以在http://gspinaci.com/上查看 HTML
URL 是正确的,因为它们在同一个文件夹中。我能做些什么?