Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Add font-display default #44

Open
abea opened this issue Mar 22, 2018 · 1 comment
Open

Add font-display default #44

abea opened this issue Mar 22, 2018 · 1 comment

Comments

@abea
Copy link

abea commented Mar 22, 2018

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display

I'm suggesting we include font-display: fallback; on html or similarly. Just learned about it, but if supported (most do) it'll allow a short period of invisible text (~100ms) as fonts load, then if it's taking longer the browser will show a fallback font from the font-family. This would be meant to improve content access just in case the web font is too large or the user's connection is bad.

@bgantick
Copy link
Contributor

I'm all for this. Please PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants