gpt4 book ai didi

ASP.NET 中的 CSS 字体

转载 作者:行者123 更新时间:2023-11-28 13:38:34 26 4
gpt4 key购买 nike

我的 ASP.NEt MVC4 应用程序 CSS 遇到了一个大问题为了加载我正在使用的新字体@字符集“utf-8”;/* CSS 文档 */

 @font-face {
font-family: 'RobotoBoldItalic';
src: url("../../../Content/KarmaLoopMobileContent/font/Roboto-BoldItalic-webfont.eot");
src: url("../../../Content/KarmaLoopMobileContent/font/Roboto-BoldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("../../../Content/KarmaLoopMobileContent/font/Roboto-BoldItalic-webfont.woff") format("woff"), url("../../../Content/KarmaLoopMobileContent/font/Roboto-BoldItalic-webfont.ttf") format("truetype"), url("../../../Content/KarmaLoopMobileContent/font/Roboto-BoldItalic-webfont.svg#RobotoBoldItalic") format("svg");
font-weight: normal;
font-style: normal;
}

但是字体没有变化。

最佳答案

查看 firebug/dev 工具,看看页面加载是否有任何错误。

关于ASP.NET 中的 CSS 字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12687489/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com