Google Fonts 国内使用方案
·
大约 100 个字
·
预计 1
分钟 读完
概述
当前 WordPress
等许多开源网站大部分的主题都在使用 Google
的在线字体方案 —— Google Fonts
,Google 服务在大陆的崩溃情况使得大量的独立网站字体无法加载,大大影响到了国内相关网站的网页响应速度,现将解决方案总结如下:
Google Fonts 国内使用方案概览图
解决方案一:本地加载字体包(推荐)
- 在 CSS 中找到被导入的 Google Fonts
1
2
| #此处以该字体为例#
@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,800|Lora:400italic|Playfair+Display:700);
|
阅读更多