Html 此网页如何加载此字体?
我正在查看位于的网页。如果你打开这个页面,你会看到它呈现了所有的字体图标。我有一个问题,让字体图标显示在IE中,但他们在IE中显示这个页面,所以我试图破译它是如何放在一起的。如果我查看site.css和beautify.css,任何地方都没有@font-face指令。然而site.css在字体系列说明符中引用了“FontAwesome”。有人能告诉我“FontAwesome”是如何在这个页面上得到解决的吗 更新 呃,我怎么会错过这个?对不起 如果我查看site.css和beautify.css,任何地方都没有@font-face指令 是的,有 如果我查看site.css和beautify.css,任何地方都没有@font-face指令 是的,有Html 此网页如何加载此字体?,html,css,Html,Css,我正在查看位于的网页。如果你打开这个页面,你会看到它呈现了所有的字体图标。我有一个问题,让字体图标显示在IE中,但他们在IE中显示这个页面,所以我试图破译它是如何放在一起的。如果我查看site.css和beautify.css,任何地方都没有@font-face指令。然而site.css在字体系列说明符中引用了“FontAwesome”。有人能告诉我“FontAwesome”是如何在这个页面上得到解决的吗 更新 呃,我怎么会错过这个?对不起 如果我查看site.css和beautify.css,
如果您查看
site.css
(接近结尾处),您将发现@font-face{font-family:'FontAwesome';src:url('../font/FontAwesome-webfont.eot')[…]
有关如何使跨浏览器
@font-face
工作的更多信息,请参阅如果您查看site.css
(靠近末尾),您将发现@font-face{font-family:'FontAwesome';src:url('../font/FontAwesome webfont.eot')[…]
有关如何使跨浏览器
@font-face
工作的更多信息,请参见有许多@font-face
定义:
@font-face{
font-family:'MuseoSans';
src:url('../font/museosans_300-webfont.eot');
src:url('../font/museosans_300-webfont.eot') format('embedded-opentype'), url('../font/museosans_300-webfont.ttf') format('truetype');
font-weight:normal;
font-style:normal
}
@font-face{
font-family:'MuseoSans';
src:url('../font/museosans_500-webfont.eot');
src:url('../font/museosans_500-webfont.eot') format('embedded-opentype'), url('../font/museosans_500-webfont.ttf') format('truetype');
font-weight:bold;
font-style:normal
}
@font-face{
font-family:'MuseoSlab';
src:url('../font/museo_slab_300-webfont.eot');
src:url('../font/museo_slab_300-webfont.eot') format('embedded-opentype'), url('../font/museo_slab_300-webfont.ttf') format('truetype');
font-weight:normal;
font-style:normal
}
@font-face{
font-family:'MuseoSlab';
src:url('../font/museo_slab_500-webfont.eot');
src:url('../font/museo_slab_500-webfont.eot') format('embedded-opentype'), url('../font/museo_slab_500-webfont.ttf') format('truetype');
font-weight:bold;
font-style:normal
}
@font-face{
font-family:'FontAwesome';
src:url('../font/fontawesome-webfont.eot');
src:url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
font-weight:normal;
font-style:normal
}
有很多
@font-face
定义:
@font-face{
font-family:'MuseoSans';
src:url('../font/museosans_300-webfont.eot');
src:url('../font/museosans_300-webfont.eot') format('embedded-opentype'), url('../font/museosans_300-webfont.ttf') format('truetype');
font-weight:normal;
font-style:normal
}
@font-face{
font-family:'MuseoSans';
src:url('../font/museosans_500-webfont.eot');
src:url('../font/museosans_500-webfont.eot') format('embedded-opentype'), url('../font/museosans_500-webfont.ttf') format('truetype');
font-weight:bold;
font-style:normal
}
@font-face{
font-family:'MuseoSlab';
src:url('../font/museo_slab_300-webfont.eot');
src:url('../font/museo_slab_300-webfont.eot') format('embedded-opentype'), url('../font/museo_slab_300-webfont.ttf') format('truetype');
font-weight:normal;
font-style:normal
}
@font-face{
font-family:'MuseoSlab';
src:url('../font/museo_slab_500-webfont.eot');
src:url('../font/museo_slab_500-webfont.eot') format('embedded-opentype'), url('../font/museo_slab_500-webfont.ttf') format('truetype');
font-weight:bold;
font-style:normal
}
@font-face{
font-family:'FontAwesome';
src:url('../font/fontawesome-webfont.eot');
src:url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
font-weight:normal;
font-style:normal
}