3 ms·
Umm...like I pointed out, it doesn't have to be as we now have "font-display" which provides multiple strategies for loading (or not loading) web fonts. MDN: h
by codeptualize 4y ago
Umm...like I pointed out, it doesn't have to be as we now have "font-display" which provides multiple strategies for loading (or not loading) web fonts.
MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/...
Demo: https://font-display.glitch.me/ https://font-display.glitch.me/
More info, pro/cons: https://www.smashingmagazine.com/2021/05/reduce-font-loading-impact-css-descriptors/ https://www.smashingmagazine.com/2021/05/reduce-font-loading...
And there is even more on the way: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/size-adjust https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/...
As to the "better or not", read my previous comment(s).