Ich habe eine Schriftart auf meiner Website in .woff
, und .ttf
Formate aufgenommen. Ich verwende truetype
als das Format für die .ttf
JetBrains PhpStorm hebt Schriftart-Gesicht TTF-Formatierung als falsch hervor
Obwohl der Code kompiliert, markiert PhpStorm die Syntax als falsch.
Mein Code ist:
src: url('assets/icomoon.woff2') format('woff2'),
url('assets/icomoon.woff') format('woff'),
url('assets/icomoon.ttf') format ('truetype');
Hier ist, was PhpStorm tut: