2015-02-12 38 views
0

這是CSS,我是想在頭插入:Laravel不接受CSS-的CSS僅部分顯示

<!-- GOOGLE-FONTS --> 
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" > 
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Oswald:300,400,700" > 

<!-- OTHER FONTS --> 
<link type="text/css" rel="stylesheet" href="{{HTML::style('assets/css/font-awesome.min.css')}}" > 

<!-- ANIMATED --> 
<link rel="stylesheet" type="text/css" id="animationcss" href="{{URL::asset('assets/css/animation.css')}}" > 

<!-- BOOTSTRAP-CSS --> 
<link rel="stylesheet" type="text/css" href="{{URL::asset('assets/css/bootstrap.css')}}" > 

<!-- CUSTOM --> 
<link rel="stylesheet" type="text/css" href="{{URL::asset('assets/css/style.css')}}" > 
<link rel="stylesheet" type="text/css" href="{{URL::asset('assets/css/custom-scrollbar.css')}}"> 

<!-- BUTTONCOLORS --> 
<link rel="stylesheet" type="text/css" href="{{URL::asset('assets/css/colors/red.css')}}"> 

<!-- RESPONSIVE-STYLES --> 
<link rel="stylesheet" type="text/css" href="{{URL::asset('assets/css/responsive.css')}}"> 
<link rel="stylesheet" type="text/css" href="{{URL::asset('assets/css/colors/red-responsive.css')}}"> 
<!-- FAVICON --> 

<link rel="shortcut icon" href="{{URL::asset('assets/img/favicon.png')}}" > 

的問題是,當我打開網頁,也不會顯示red.css,也不fontawesome圖標或任何其他的東西。它只會接受style.css(來自Google Chrome檢測工具)

有什麼問題?

謝謝。

+0

在我自己的經驗,這種問題是由Apache或在相關的緩存,在服務器客戶端由瀏覽器。您是否嘗試重新啓動apache或本地Web服務器或清除瀏覽器的緩存? – 2015-02-12 00:52:11

回答

0

更改此鏈接

<!-- OTHER FONTS --> 
<link type="text/css" rel="stylesheet" href="{{HTML::style('assets/css/font-awesome.min.css')}}" > 

要麼

{{HTML::style('assets/css/font-awesome.min.css')}} 

<link type="text/css" rel="stylesheet" href="{{URL::asset('assets/css/font-awesome.min.css')}}" >