How in css to add the font??

How in css to add the Font. The font is in the same directory as the font used this code:
@font-face {
 font-family: "Bebas Neue Cyrillic";
 src: url("BebasNeueCyrillic.ttf");
 font-weight: normal;
 font-style: normal;
}

But later the idea says that it cannot be found (highlighted yellow) and on the website it doesn't work (pokupaetsya a different font), how to fix?
To display the page using a jsp (if that's the problem).
June 27th 19 at 14:56
2 answers
June 27th 19 at 14:58
Solution
Use: https://web-font-generator.com/
Different browsers need different font formats.
June 27th 19 at 15:00
The font is in the same directory as the font
- how to understand it?

Write in detail what output idea - you need to put the cursor on that highlighted and press Alt+Enter. And so a lot of options can be why is not working.
Oh, the KSS file is in the same directory as the font file - Damion.Howell commented on June 27th 19 at 15:03
displays the font property font-family does not have generic default.
Ie: property ... does not have General settings for umolchaniu - Damion.Howell commented on June 27th 19 at 15:06
And 2 font wrote: Insert generic font name
That is: Insert the name of the shared font - Damion.Howell commented on June 27th 19 at 15:09
)this does not mean that the font is not found! you just add the sans-serif all, for example: font-family: Ubuntu, sans-serif; - selena.Kreiger81 commented on June 27th 19 at 15:12
: I think he will not find, because He replaces it with another font in 2 broweser. Google and the Internet EXPL...

How to run this font XS - Damion.Howell commented on June 27th 19 at 15:15
: I wrote in response that different browsers need different font just ttf is not enough. - Elmer.Upt commented on June 27th 19 at 15:18

Find more questions by tags JSPCSS