summaryrefslogtreecommitdiff
path: root/_includes/extensions/google-translate.html
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-06-28 17:31:53 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-06-28 17:31:53 +0800
commit5c4c473b88e0734e7221bbd06fe875a64b99b65d (patch)
treeacd7377b783c1b47c125a59d876dff5578b18a76 /_includes/extensions/google-translate.html
parent351f3200273eb5f3c93467fa3d56586366384132 (diff)
feat: ensure text remains visible during webfont load
The easiest way to avoid showing invisible text while custom fonts load is to temporarily show a system font. By including `font-display: swap` in your font style. It's worth mentioning that not all major browsers support font-display: swap, so you may need to do a bit more work to fix the invisible text problem.
Diffstat (limited to '_includes/extensions/google-translate.html')
0 files changed, 0 insertions, 0 deletions