Can't seem to add a custom font to my project
By Marcone
03 Dec 2016 06:25
English
3 Replies
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.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------