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.

相关文章:

  • 2022-12-23
  • 2021-10-29
  • 2021-06-09
  • 2022-12-23
  • 2021-12-14
  • 2021-07-03
  • 2021-04-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2021-12-11
相关资源
相似解决方案