@font-face declarations don't work in Android 4.3 Internet browser?

后端 未结 6 2099
傲寒
傲寒 2020-12-13 10:54

My Samsung Galaxy S3 phone recently upgraded from Android 4.1.3 to Android 4.3. Now several websites I designed which I tested in the Android internet browser are not displ

6条回答
  •  情歌与酒
    2020-12-13 11:22

    I had a similar problem before and I solved it by adding font-weight: normal !important;to the elements/text that was using the font. I believe the problem was that the font weight was being inherited by the elements and this caused the font to fail. Hope it works :)

    So in your code:

    h2 {
        font-family: 'OpenSansSemibold', Arial, sans-serif;
        font-weight: normal !important;
        /* ... */
    }
    

提交回复
热议问题