Can’t seem to add a custom font to my project

Can’t seem to add a custom font to my project

BY 03 Dec 2016 Web Application Development

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.

Written by