我需要通过@font-face
将字体嵌入网站。我跟着一些教程,结果是它对我不起作用。
CSS:
@font-face{
font-family:'GESSTwoLightRegular';
src:url('../fonts/ge_ss_two_light-webfont.eot');
src: url('../fonts/ge_ss_two_light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/ge_ss_two_light-webfont.woff') format('woff'),
url('../fonts/ge_ss_two_light-webfont.ttf') format('truetype'),
url('../fonts/ge_ss_two_light-webfont.svg#gess') format('svg'),
url(ge_ss_two_light-webfont.otf) format('opentype');
font-weight:normal;
font-style:normal;
}