Fighting FOIT and FOUT Together
Lots from Divya with the setup:
There are 2 kinds of problems that can arise when using webfonts; Flash of invisible text (FOIT) and Flash of Unstyled Text (FOUT) … If we were to compare them, FOUT is of course the lesser of the two evils
If you wanna fight FOIT, the easiest tool is the font-display
CSS property. I like the optional
value because I generally dislike the look of fonts swapping.
If you want to fight …
The post Fighting FOIT and FOUT Together appeared first on CSS-Tricks.