引入css样式和js库

网页中使用了css样式,但是却没有显示,这是什么问题啊?它的意思就是你引入的这个库外链必须是基于HTTPS加密的,你就去网上找呗。例:

but requested an insecure stylesheet 'http://cdn.staticfile.org/font-awesome/4.2.0/css/font-awesome.min.css'. This request has been blocked; the content must be served over HTTPS.

解决方法:换个链接https://cdn.bootcss.com/font-awesome/4.2.0/css/font-awesome.min.css

猜你喜欢

转载自blog.csdn.net/lanyandong/article/details/81227709