码迷,mamicode.com
首页 > Windows程序 > 详细

https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic net::ERR_CONNECTION_TIMED_OUT问题解决

时间:2016-04-15 18:23:26      阅读:945      评论:0      收藏:0      [点我收藏+]

标签:

使用adminTLE时,有时候出现

 https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic net::ERR_CONNECTION_TIMED_OUT

 

google找到这样的解答

http://stackoverflow.com/questions/15930003/downloading-a-google-font-and-setting-up-an-offline-site-that-uses-it

http://my.oschina.net/bubifengyun/blog/596332?fromerr=pUgEvQq3

解决办法

找到字体

https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic

下载下来,保存为fontgoogle.css

找到载入字体的文件 AdminLTE.min.css

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);

将其改为

@import "fontgoogle.css";

https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic net::ERR_CONNECTION_TIMED_OUT问题解决

标签:

原文地址:http://www.cnblogs.com/tumio/p/5396207.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!