diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-28 17:31:53 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-28 17:31:53 +0800 |
commit | 5c4c473b88e0734e7221bbd06fe875a64b99b65d (patch) | |
tree | acd7377b783c1b47c125a59d876dff5578b18a76 /_includes | |
parent | 351f3200273eb5f3c93467fa3d56586366384132 (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')
0 files changed, 0 insertions, 0 deletions