How to make Google Fonts work in IE?

后端 未结 11 771
抹茶落季
抹茶落季 2020-11-28 03:17

I\'ve been developing a site that uses the Google Fonts API. It\'s great, and supposedly has been tested in IE, but when testing in IE 8 the fonts simply don\'t get styled.<

11条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 03:40

    It's all about trying all those answers, for me, nothing works except the next solution: Google font suggested

    @import 'https://fonts.googleapis.com/css?family=Assistant';
    

    But, I'm using here foreign language fonts, and it didn't work on IE11 only. I found out this solution that worked:

    @import 'https://fonts.googleapis.com/css?family=Assistant&subset=hebrew';
    

    Hope that save someone precious time

提交回复
热议问题