Google Font not working on Safari

后端 未结 7 1435
野性不改
野性不改 2020-12-06 16:08

I\'m working on making my site look the same under Safari and Chrome. In Chrome it looks exactly how I want it to. The major problem is that Google Font doesn\'t seem to be

7条回答
  •  失恋的感觉
    2020-12-06 16:53

    My case was that I used font name without quotes. So just change

    body{
        font-family: roboto, Arial, sans-serif;
    }
    

    to

    body{
        font-family: 'roboto', Arial, sans-serif;
    }
    

    Chrome works perfectly without quotes, but Safari doesn't.

提交回复
热议问题