@font-face: bold in FF is bolder than in Chrome

后端 未结 9 1575
攒了一身酷
攒了一身酷 2021-01-31 05:03

I used this code:

@font-face {
    font-family: \'DroidSansRegular\';
    src: url(\'droidsans-webfont.eot\');
    src: url(\'droidsans-webfont.eot?#iefix\') for         


        
9条回答
  •  甜味超标
    2021-01-31 05:39

    My problem was that the text that was "more bold" was within a h1 tag. I just added the following to my CSS and it fixed the problem! :)

    h1,h2,h3,h4,h5,h6{
        font-weight:normal;
    }
    

提交回复
热议问题