mirror of
https://github.com/google/fonts.git
synced 2024-12-19 14:52:12 +03:00
1.1 KiB
1.1 KiB
A “flash of invisible text” (FOIT) is the phenomenon in which a web page loads without the type appearing at all, before rendering to the intended typeface(s). This delay is caused by the web fonts being downloaded to the user’s device. See also: FOUT.
In almost all scenarios, a FOIT is not a great user experience for the end user, since all written content is effectively blocked during the time it takes the fonts to load.
The effect can be prevented using the CSS font-display
property, which will first render the content using system fonts before swapping to the desired typefaces once the web fonts have downloaded. For more information, please see our article “Using web fonts.”