, . , , Firefox, .
-: ? , , , .
:
@font-face{
font-family: SuperFont;
src: url('../fonts/Superfont.ttf'),
}
I copied this code somewhere, removing part of the definition src, not noticing the trailing comma that has made this line invalid. Therefore, the font was not loaded.
However, since I already installed Superfont locally, it seemed to work because the browser recognized it font-family. Well, until I decided to change the font file, but keeping the definition font-familyfor additional CSS file changes ...
Moral: When testing fonts, use a unique user name font-family.
source
share