我的Jumbotrons背景圖像並不完全是寬度。Jumbotron背景圖像不顯示全角
任何想法爲什麼?
直播鏈接:http://185.123.96.102/~kidsdrum/moneynest.co.uk/
你可以看到背景圖像的寬度不讓它儘可能的導航欄。
HTML
<div class="container special">
<div class="jumbotron">
<div class="container text-center">
<div class="h1extrapadding hidden-xs hidden-sm"></div> <h1 class="boldme">Aged 20-30 & frustrated with money?</h1>
<div class="greenpromobox">
<div class="h2extrapadding hidden-xs hidden-sm"></div> <h2 class="boldme">Take our free <b class="jumpstarttext">Jumpstart Your Finances</b> class to<br /> quickly gain control over your finances</h2>
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form action="//moneynest.us11.list-manage.com/subscribe/post?u=9ccf2d2219536b32eaae3c3d1&id=299de51b4e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<img src="http://185.123.96.102/~kidsdrum/moneynest.co.uk/img/hand-drawn-arrow.png" id="handarrow" class="hidden-xs hidden-sm" alt="arrow"><input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Enter your email address" required autofocus>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_9ccf2d2219536b32eaae3c3d1_299de51b4e" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Start Class Now" name="subscribe" id="mc-embedded-subscribe" class="text-uppercase btn btn-primary btn-lg"></div>
</div>
</form>
</div>
<!--End mc_embed_signup-->
</div>
</div>
</div>
</div>
</div>
CSS
.jumbotron {
background-image: url("../img/checking-finances-in-cafe-blurred.png");
background-size: cover;
color: white;
}
#handarrow {
position: relative;
top: -50px;
left: -5px;
}
html,body {height:100%;}
.special,.special .jumbotron
{height:100%;
width: 100%;
}
輝煌的感謝,必須有一些引導默認值。任何想法爲什麼我已經downvoted? –
我不知道......我認爲這是因爲人們不想調試代碼,但老實說,我不在乎這種或那種方式。加一。 –
哈哈不用擔心,我是新來的人,想把它全部弄清楚! –