Jumbotron a ɛyɛ hu
Lightweight, flexible component ma showcasing ɔkokodurufo unit style nsɛm.
Ade a emu yɛ hare, ɛyɛ mmerɛw sɛ wobɛtumi atrɛw viewport no nyinaa mu de akyerɛ aguadi ho nkrasɛm atitiriw wɔ wo wɛbsaet no so.
Hello, wiase!
Eyi yɛ hero unit a ɛnyɛ den, jumbotron-style component a ɛnyɛ den a wɔde twe adwene si nneɛma anaa nsɛm a wɔada no adi so kɛse.
Ɛde utility classes di dwuma ma typography ne spacing ma space content out wɔ container kɛse no mu.
<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>
Sɛ wopɛ sɛ jumbotron no trɛw yɛ pɛ, na enni ntwea a ɛyɛ kurukuruwa a, fa .jumbotron-fluid
modifier class no ka ho na fa a .container
anaa .container-fluid
mu ka ho.
Nsu a ɛyɛ jumbotron
Eyi yɛ jumbotron a wɔayɛ no foforo a egye n’awofo no ahunmu a ɛkɔ soro no nyinaa.
<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>