Answer the question
In order to leave comments, you need to log in
Error in the net::ERR_FILE_NOT_FOUND console, but it is found and it works as it should, how is it?
Added my font:
@font-face {
font-family: Situs;
src: url(fonts/situs.ttf);
}
* {
font-family: Situs;
font-style: italic;
}
Failed to load resource: net::ERR_FILE_NOT_FOUND
Answer the question
In order to leave comments, you need to log in
You need to specify the correct absolute path from the site root to the font. Now you have a relative path and the font is searched in the current directory.
And it is displayed normally, most likely because you have it installed locally.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question