Font Loading

Load web fonts without layout shift by subsetting the file, setting font-display, preloading first-paint weights, and matching fallback metrics. Use when custom fonts cause invisible text, a flash of restyle, or a CLS spike.

Amey-Thakur Updated 14 repo stars

File contents

Amey-Thakur/AI-SKILLS commit e8902e9f65

Frequently asked questions

npx get-skill add amey-thakur/font-loading