1. question descibe; once, one css file(app.css) of my web project has sentence like this: @import url(http://fonts.google ...
1. question descibe;
once, one css file(app.css) of my web project has sentence like this:
@import url(http://fonts.googleapi.com/css?family=Source+Sans+Pro:300,400,600,400italic);
then if you refresh your web page, you will wait a long time until the page dead.
so what's wrong???
2. Reason:
when you are in somearea that not allowed to connect to the whole internet, that means you cannot get the file ,
so the brower will connect all the time.
3. Solution:
change the code like this:
@import url(http://fonts.useso.com/css?family=Source+Sans+Pro:300,400,600,400italic);
republish the project to the web server.
海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com
原标题:question about import google file
关键词:GOOGLE
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。