How to remove default font in browser when loading @ font-face in CSS? "FOUT"

I upload two external fonts to my web page using @ font-face. They load perfectly in Chrome, but when I try to use IE, the browser displays the default font during page load, then the fonts change to the correct ones according to my css @ font-face.

How to remove default font from display in IE and other browsers during page load? I want to remove the so-called FOUT (flash irregular text). Is there a way to do this through a stylesheet?

Thanks for any help!

+5
source share
2 answers

, , font-size CSS 0px , font-size < a > CSS .

, script (Firefox 3.5/3.6 Internet Explorer 7-9), FOUT-B-Gone JavaScript.

+3

CSS N , , , . css3 ?

0

All Articles