希望有人能指點請@media查詢 - CSS重複不渲染
有一種讓我的頁腳換行以橫向模式(480像素)
HTML平板電腦設備上重複的問題
<div id="footer-wrap">
<footer class="footer-inner">
<section class="foo1">
<h1>Get in Touch</h1>
<hr>
</section>
</footer>
</div>
CSS
#footer-wrap {
background: none repeat #373737;
min-height: 400px; }
.footer-inner {
width: 940px;
margin: 0 auto; }
在團長我
起初,我並沒有針對媒體查詢中的#尾纏繞,因爲我認爲它只是包含BG顏色,沒有其他屬性,從主要拉動樣式就足以
我試圖內的媒體查詢
@media only screen and (min-width: 480px) and (max-width: 767px){
#footer-wrap {
width: 100%; /*with the intention of just filling the div*/
}
}
加入也試過
#footer-wrap {
width:767px;
background: none repeat #373737;
}
無論^ h AVE工作
任何人都可以建議,我相信答案是打我的眼睛之間,但我不能爲我的生活指點迷津,並且因爲它是我在這個項目上
許多後面跑在此先感謝
約翰
'背景:沒有重複......'沒有什麼可以重複的。 – BoltClock 2013-02-13 15:17:19
重複屬性將重複背景圖像。您沒有指定背景圖片。 – 2013-02-13 15:19:30
問題已解決,謝謝指出我從未添加過血腥圖片....我需要休息一下! 親切的問候和再次感謝 約翰 – John 2013-02-13 15:42:00