Correct font-face application

0

It is known that fonts of type woff and woff2 are not supported by all browsers, I am using it in my page and in the google chrome console it has problems downloading font type woff2 , no mozilla as .woff .

Could you please tell me how to use these custom fonts without these types of errors appearing on the console? The ideal is to use only TTF and EOT .

Example of chrome error:

  

Failed to load resource: the server responded with a status of 404 (Not Found)

But the source is in the correct directory.

    
asked by anonymous 18.01.2018 / 22:42

1 answer

0

I researched and found the solution, the woff2 and woff fonts should always be come before the rest in the style sheet.

    
19.01.2018 / 18:35