Source

Jumbotron

Lightweight, paati rọ fun iṣafihan akoonu ara apa akoni.

Iwọn iwuwo fẹẹrẹ, paati rọ ti o le fa gbogbo iwoye ni yiyan lati ṣafihan awọn ifiranṣẹ titaja bọtini lori aaye rẹ.

Mo ki O Ile Aiye!

Eyi jẹ ẹyọ akọni ti o rọrun, paati ara jumbotron ti o rọrun fun pipe akiyesi afikun si akoonu ifihan tabi alaye.


O nlo awọn kilasi iwUlO fun iwe-kikọ ati aye si akoonu aaye jade laarin apoti nla.

Kọ ẹkọ diẹ si

<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>
  <p class="lead">
    <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
  </p>
</div>

Lati ṣe jumbotron ni kikun iwọn, ati laisi awọn igun yika, ṣafikun .jumbotron-fluidkilasi modifier ki o ṣafikun kan .containertabi .container-fluidlaarin.

omi jumbotron

Eyi jẹ jumbotron ti a ṣe atunṣe ti o gba gbogbo aaye petele ti obi rẹ.

<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>