3 ms·
> <amp-font> provides a CSS hook by which the author can do stuff like "hide the text for up to 3s, or when the font has loaded, whichever comes first Modern b
by kilburn 8y ago
> <amp-font> provides a CSS hook by which the author can do stuff like "hide the text for up to 3s, or when the font has loaded, whichever comes first
Modern browsers let the page author control this with the "font-display" CSS property [1].
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/...