【发布时间】:2015-09-11 17:42:49
【问题描述】:
使用普通 CSS font-face 似乎无法在新的 Windows 10 Edge 浏览器上正常工作。在 IE11 和所有其他浏览器上运行良好。有没有其他人看过这个?似乎是浏览器中的错误。
这是我们一直在使用的 CSS。
@font-face {
font-family: "Univers";
src: url("../fonts/univers-webfont.eot");
src: local(Univers), url("../fonts/univers-webfont.eot"), url("../fonts/univers-webfont.svg"), url("../fonts/univers-webfont.ttf"), url("../fonts/univers-webfont.woff");
font-weight: normal;
font-style: normal;
}
.button_black {
font-family: "Univers";
font-size: 18px;
color: @slb-off-black-1;
}
【问题讨论】:
-
字体在 Edge 中可以正常工作 - 你可以发布一个链接到显示问题的示例吗?
-
slbportfolio.cloudapp.net/client/#/login 供参考。检查元素“请登录...”,看看它应该有一个 Univers 字体,但得到默认的 Times New Roman。
标签: html css font-face local microsoft-edge