Answer the question
In order to leave comments, you need to log in
How to make a web page not "twitch" when loading?
I designed a regular web page in which I use fonts from Google Fonts. I include them via @include in the stylesheet. For example @import url(' https://fonts.googleapis.com/css?family=Roboto:300... ') .
When a web page is opened, it "jumps" due to the fact that the fonts are not loaded immediately. The fact is that when the Google font is not loaded yet, the default font is displayed. Because of this, the page twitches.
How to make sure that there is no such side effect? Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question