two @font-face not acting like each other

前端 未结 1 382
名媛妹妹
名媛妹妹 2021-01-26 12:42

I\'m using two @font-face in CSSreset.css exactly like each other, and just one of them works! This is the style code:

@font-face {
        font-family: \'B Mitr         


        
相关标签:
1条回答
  • 2021-01-26 12:57

    Could it be the CSS selectors you're using? Does it work if you change your code to:

    #Map_Eshterak {
            font-family: 'BBCNassim';
    }
    

    And as a side-note, once you get this working you may want to give a font stack, in case your @font-face fonts don't load properly. (For example, font-family: 'BBCNassim', Helvetica, sans-serif; will show Helvetica is BBCNassim isn't available)

    0 讨论(0)
提交回复
热议问题