https://sb.sb/css-cdn/https://cdn.baomitu.com/
Due to some well-known reasons, a lot of open source JS Library adopted foreign CDN hosting way in the domestic access rate is not satisfactory. So we specially produced this commonweal project, hosted CDNJS all open source JS library and reverse generation of Google Fonts, Ajax and Gravatar, and all support HTTP and HTTPS 1, cdnjs Open source JS library
The me
Recently in the mall project to find that loading an HTML page reaction is very slow, to see that Google font caused by the slow loading of the page, delete the style will find a lot of content error.Internet Baidu found the problem is:Google Hong Kong (google.com.hk) server, has been transferred from Hong Kong to the United States, so the link time will be very long, even intermittent request time-out situation.Google service is not stable, a large n
It took a day to build a Google Fonts agent today,You can retrieve data from Google and convert it to a specific domain name.Ignore cache control, can be long-term preservation, never expires, (in fact, 10 years, 10 years later, Google Fonts will do?) )The log plus hit flag
After the installation of WordPress, found that the site is very slow to open.The reason for this is that it's always known because Google fonts can't be loaded and Gravatar avatars can't load.In the online search, said to be the Google font loading connection modified under, and Gravatar Avatar Load connection modified under.But modify the source file, the next
Because of some well-known reasons, a lot of open source JS library used by foreign CDN hosting method in the domestic speed is not satisfactory. So we made this project, hosted all of Cdnjs's open source JS libraries and reversed Google Fonts, Ajax and Gravatar, all supported HTTP and HTTPS 1, cdnjs Open source JS libraryThe approach we use is to synchronize Cdnjs Github (http://t.cn/REVf3N2) on a daily sc
Google Chrome does not support small fonts below 12 PX. Some good solutions can be found on the Internet. If you are interested, refer, I hope to help you. Google Chrome does not support small fonts below 12 PX. It may be because of the user experience.
There are some articles on the Internet that can be used:
Google overhead: chrome27 does not support Fonts below 12 px. That is, the latest version does not believe to try to score google overhead. chrome27 does not support Fonts below 12 px anymore.
That is, the latest version.
If you don't believe it, try to share it:
------ Solution --------------------
Younger brother
Google overhead: chrome27 does not support Fonts below 12 px. That is, the latest version does not believe to try to share to: --- google overhead, chrome27 does not support Fonts below 12 px anymore.
That is, the latest version.
Try again
Share:
------ Solution --------------------
Younger brother, you ar
rules:
{ margin-top:-12px; padding-bottom:-12px;}
Using the negative value of Marin, you can move the margin to the specified direction, that is, the entire element;
Using the negative value of padding, you can move the padding to the specified direction, that is, supporting the big dollar margin;
After that, the reduced text does not change, so it achieves the effect-scale down the font in the Google browser and perform the same o
1. Discover problemsRecently, it was quite difficult to access google servers in China, but the speed was still relatively low.The background was opened very quickly. It took 20 seconds to open it suddenly recently. Every page was like this, and it was almost collapsed.The following error occurs when you press the console option to open the debugging mode of the browser:That is, this error:GET http://fonts.googleapis.com/css? Family = Open + Sans % 3A
For well-known reasons, the use of Google Font library in China is a big problem.Using domestic mirrors such as 360 site defenders Common front-end public Library CDN Service http://libs.useso.com/
Advantages: Easy to use
Disadvantage: The target user contains foreign developers, it is not clear how fast the foreign users load
Google Font Library: fonts.useso.comGoogle Public Library: ajax.useso.
We all know Jsduck is a good API document generator, recently found in the use of the template will have Google fonts, so want to clear out, here window platform recompile Jsduck.exe, the final effect is good.In order to think, for Jsduck this API document Shen Generator, can be deep customization, OK, just a brief description of so many.1. Gem install OCRA; for building an executable program2, Gem installs
Add a Google browser-specific kernel attribute style to the HTML or body (or you can add a CSS selector if you need to set a small text font object) such as the following CSS code:Html,body{-webkit-text-size-adjust:none;}Or. Divcss5{-webkit-text-size-adjust:none;}Note: If you use this property, the browser font will not be able to use the Zoom out function! (Just hold down the CTRL key to scroll up and down the middle mouse button)Html,body {-webkit-t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.