这是我试图插入头部的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 :(得分: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')}}" >