Can't seem to add a custom font to my project
由 Marcone
2016年 12月 03日 06:25
English(英语)
3 回复
I'm trying to use a custom font for a watch face project, but the following code doesn't work.
@font-face{
font-family: "Digital";
src: url('digital-7.ttf'),
}
div {
font-family: Digital;
}
What am I doing wrong?
The file is in the same folder as the css.
您必须登录才能使用此服务。立即登录?
The tag you entered already exists.
是否要将这篇帖子报告为垃圾邮件?
已将该帖报告为垃圾邮件。
cannot be empty.
是否确定要取消并返回列表?
The code has been copied to the clipboard.
输入标题。
所有分类
一般支持
Tizen .NET
Web 应用程序开发
本机应用程序开发
SDK 和 IDE
--------
--------