Loading webfonts ASAP and speedup your website
When a website is loading, your web-font is downloaded only it is necessary.
Even if you call your web-fonts at first, it will only be called when your font is used at your CSS.
But, there are a simple way to force browser to start loading your webfont ASAP.
html::before {
  content: 'Load now!'; /* I think it is necessary */
  font: 0/0 'Custom  Font'; /* Put your web font here */
}This tip was found in https://twitter.com/mobtec talk at RSJS.
Written by Luiz Fernando de Souza Filho
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
 #Css 
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#

 
 
 
 
