Tuesday, March 25, 2014

Google Chrome fix for dissapearing fonts

In version 32 and 33 of Google Chrome, sometimes web fonts dissappeared. Here is quick fix:

 body {  
   -webkit-animation-duration: 0.1s;  
      -webkit-animation-name: fontfix;  
      -webkit-animation-iteration-count: 1;  
      -webkit-animation-timing-function: linear;  
      -webkit-animation-delay: 0.1s;  
 }  
 @-webkit-keyframes fontfix {  
      from{      opacity: 1; }  
      to{     opacity: 1; }  
 }