2017-06-16 49 views

回答

1

您的jumbotron需要位于具有“容器”类的元素中以应用填充。

<div class="container"> 
    <div class="jumbotron"> 
     <h1>Jumbotron</h1> 
     <p>Now is the time for all good men to come to the aid of the party.</p> 
    </div> 
</div> 

https://jsfiddle.net/3azmutot/2/

0

如果你想在超大屏幕是全宽,内像这样添加.container:

<div class="jumbotron"> 
    <div class="container"> 
     <h1>Jumbotron</h1> 
     <p>Now is the time for all good men to come to the aid of the party.</p> 
    </div> 
</div> 
相关问题