in English
超大屏幕
用於展示英雄單位風格內容的輕量級、靈活的組件。
一個輕量級、靈活的組件,可以選擇擴展整個視口以在您的網站上展示關鍵營銷信息。
<div class="jumbotron">
<h1 class="display-4">Hello, world!</h1>
<p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<hr class="my-4">
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
<a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
</div>
要使 jumbotron 全寬且沒有圓角,請添加.jumbotron-fluid
修飾符類並在其中添加一個.container
或.container-fluid
。
流體擴音器
這是一個修改過的 jumbotron,它佔據了其父級的整個水平空間。
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-4">Fluid jumbotron</h1>
<p class="lead">This is a modified jumbotron that occupies the entire horizontal space of its parent.</p>
</div>
</div>