您好,欢迎来到气吉美食网。
搜索
您的当前位置:首页questionaboutimportgooglefile_html/css

questionaboutimportgooglefile_html/css

来源:气吉美食网


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.

Copyright © 2019- qejl.cn 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务