Will a browser download a font-face even if it is not used in the page?

前端 未结 4 1747
情深已故
情深已故 2020-12-19 05:03

It would be easier for development if I can just embed every typeface I\'m likely to use, but I definitely don\'t want the extra HTTP requests for fonts that don\'t end up a

4条回答
  •  半阙折子戏
    2020-12-19 05:21

    Paul Irish has a really good tutorial on using @font-face

    http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/

    You can also use a syntax generator on fontsquirrel.com

提交回复
热议问题