小编Rit*_*esh的帖子

如何使用@ font-face的webfont

我想将我的应用程序中的字体更改为自定义字体,但以下代码不起作用:

@font-face 
{
font-family: "ArnoProBold"; 
src: url("resources/fonts/ArnoProBold.ttf");
}
@font-face 
{
 font-family: "ArnoProCaption"; 
 src: url("resources/fonts/ArnoProCaption.ttf");
}
@font-face 
{
 font-family: "Arn";
 src: url("resources/fonts/ArnoProLightDisplay.ttf");
}
Run Code Online (Sandbox Code Playgroud)

css3 webfonts font-face sencha-touch-2

7
推荐指数
1
解决办法
980
查看次数

标签 统计

css3 ×1

font-face ×1

sencha-touch-2 ×1

webfonts ×1