2016-05-12 30 views
0

我在我的網站中包含了一種字體,格式爲.woff.woff2.ttf。我使用truetype作爲.ttf的格式JetBrains PhpStorm突出顯示字體面TTF格式錯誤

雖然代碼確實編譯,但PhpStorm將語法標記爲不正確。

我的代碼是:

src: url('assets/icomoon.woff2') format('woff2'), 
     url('assets/icomoon.woff') format('woff'), 
      url('assets/icomoon.ttf') format ('truetype'); 

這裏是PhpStorm是這樣做的:

enter image description here

回答