Google Font not working on Safari

后端 未结 7 1452
野性不改
野性不改 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 17:02

    Your CSS should not only contain

    font-family: 'Source Sans Pro', sans-serif;
    

    it should also have values for FONT-STYLE and FONT-WEIGHT:

    font-family: 'Source Sans Pro', sans-serif; font-weight:900; font-style:italic;
    

    in case you use a font that contains those values like for example: https://fonts.googleapis.com/css?family=Source+Sans+Pro:900italic

提交回复
热议问题