@font-face not working on chrome

后端 未结 4 1814
日久生厌
日久生厌 2020-12-03 10:40

I\'m using the latest version of google chrome and it won\'t render font face at all.

I\'m running Debian Linux, and all other browsers , including Chromium , show

4条回答
  •  半阙折子戏
    2020-12-03 11:19

    If you put your font files in a folder named "fonts" and your CSS files in the folder named "style",then you should write the url like this

    @font-face {
     font-weight: bold;
     font-family: Dejaweb;
     src: url('../fonts/DejaWeb-Bold.ttf'); }
    

    I just corrected the same mistake like this.

提交回复
热议问题