Just as the title! The commonly used font-family loads the browser's built-in fonts, but if the new tag @font-face in CSS3 is used to load TTF fonts, the traffic generated will be very large. Especially for Chinese fonts. Nowadays, fonts are becoming more and more diverse. How can we load fonts smoothly? Today I downloaded several Chinese fonts from China Fonts http://font.chinaz.com/, put them on my blog and tried to load them, but found that they loaded very slowly. A Chinese TTF font is more than 8M. I wonder when it will take to load and display? Then I was wondering how this Chinese font website managed to load so many fonts. Although some of the fonts are pictures, it also provides the function of previewing the font you entered. Any idea what the solution is? If you know, please reply. |
<<: A brief discussion on tags in HTML
>>: Pure CSS code to achieve drag effect
Table of contents Create a global shared content ...
I recently encountered a problem at work. There i...
This article originated from my complaints about ...
On CentOS 7, when we map the host port to the con...
Today I will introduce two HTML tags that I don’t...
Enable remote access to MySQL By default, MySQL u...
This article shares the vue card-style click-to-s...
Table of contents Overview 1. Menu and routing pr...
1. Check and install pssh, yum list pssh 2. Becau...
Table of contents transition hook function Custom...
1. Overall architecture diagram Compared to other...
Each time tomcat is started, the following log fi...
1. Description Earlier we talked about the instal...
1. Clarify the design direction <br />First,...
This article shares the specific code of Vue to r...