Jumbotron
Lejè, eleman fleksib pou montre kontni style inite ewo.
Yon eleman ki lejè, fleksib ki ka pwolonje tout vi a pou montre mesaj maketing kle sou sit ou a.
Bonjou, mond!
Sa a se yon inite ewo senp, yon senp eleman jumbotron-style pou rele plis atansyon sou kontni an prezante oswa enfòmasyon.
Li itilize klas itilite pou tipografi ak espas pou espas kontni nan pi gwo veso a.
<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>
Pou fè jumbotron a plen lajè, epi san kwen awondi, ajoute .jumbotron-fluid
klas la modifye epi ajoute yon .container
oswa .container-fluid
nan.
Jumbotron likid
Sa a se yon jumbotron modifye ki okipe tout espas orizontal paran li yo.
<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>