UI Deploy

Curated, Short, Web UI Dev we Love.

Critical Web Fonts

The history of web font loading has included many different iterations:

1. Doing nothing: including a @font-face CSS block and using it in your CSS without qualification. I consider this to be an anti-pattern. It introduces a Flash of Invisible Text (FOIT) in some browsers and worse, creates a single point of failure in browsers that do not have a font loading timeout (WebKit).

view source

Advertisement