我的网站有一个问题,即字体没有先加载我不知道为什么字体加载速度很慢我使用@fontface字体 查看http://www.yellowandred.in/newTest/jobs.php
答案 0 :(得分:0)
检查字体的路径,我认为它没有正确链接...
字体路径: -
http://www.yellowandred.in/newTest/fonts/Avenir%20LT%20input65%20Medium.ttf
http://www.yellowandred.in/newTest/fonts/Neutura%20Light_0.otf
我建议使用字体生成器: - Font Face Generator
或使用 Google Web Fonts
答案 1 :(得分:0)
谢谢 SaurabhLP Font Face Generator工作 代码: -
@font-face {
font-family: 'UniversLTStd47CnLtBold';
src: url('../fonts/universltstd-boldcn_0-webfont.eot');
src: url('../fonts/universltstd-boldcn_0-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/universltstd-boldcn_0-webfont.woff') format('woff'),
url('../fonts/universltstd-boldcn_0-webfont.ttf') format('truetype'),
url('../fonts/universltstd-boldcn_0-webfont.svg#UniversLTStd47CnLtBold') format('svg');
font-weight: normal;
font-style: normal;
}