开发者

Duplicate css lines using html5reset

开发者 https://www.devze.com 2023-03-02 13:04 出处:网络
I\'m using html5reset from htt开发者_如何学JAVAp://html5reset.org for the first time. The issue I\'m seeing is that the file core.css is being loaded twice or something. If you pull up firebug, you ca

I'm using html5reset from htt开发者_如何学JAVAp://html5reset.org for the first time. The issue I'm seeing is that the file core.css is being loaded twice or something. If you pull up firebug, you can see that for every element you click on there is a core.css and a core.css #2.

I can't figure out what is causing it to load twice. My site is http://ratemymechanic.us


I have found this in your HTML markup:

<link rel="stylesheet" href="http://ratemymechanic.us/assets/css/main.css" /> 
<link rel="stylesheet" href="http://ratemymechanic.us/assets/css/core.css" /> 

in main.css, you're importing core.css too, hence you're applying it twice:

@import url("core.css");
0

精彩评论

暂无评论...
验证码 换一张
取 消