Answer the question
In order to leave comments, you need to log in
What is the correct order for connecting a font of a different format?
Please explain the correct order for connecting a font of different formats (eot, woff, woff2, otf, ttf, svg, local)
basically the order in which I listed above, but on https://developers.google.com/web/fundamentals /per... the order is reversed.
it seems that in the end the browser chooses only one format, but does the order of connecting fonts affect which font it stops at?
Answer the question
In order to leave comments, you need to log in
On this occasion, it is clearly written in this Google article that yes the order matters (but not the CSS cascade). The first supported font is taken. From myself I can add, I specifically checked this - it is. Put woff2 first - it will take it, well, or in your case eot for ie and woff the rest.
Perhaps Google knows something) if you specify local first, then when the font is in the system, it will not load again.
Cascading Style Sheet! That says it all. Connect 4 images using css in different formats
body {
background-image: url('img/img1.gif');
background-image: url('img/img1.jpg');
background-image: url('img/img1.png');
background-image: url('img/img1.webp');
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question