Home > Web Front-end > HTML Tutorial > question about import google file_html/css_WEB-ITnose

question about import google file_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:24:53
Original
979 people have browsed it

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.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template