Preload Web Fonts To Avoid Flash

Use when a custom font causes a flash of invisible or unstyled text. Preloads the file, matches fallback metrics, and picks font-display deliberately.

jiayaoqijia Updated 81 repo stars

File contents

jiayaoqijia/cryptoskill commit 580fd49bc7

Frequently asked questions

npx get-skill add jiayaoqijia/preload-web-fonts-to-avoid-flash