Tlolela ho litaba tsa mantlha Tlolela ho li-docs navigation

Sebelisa lithusi tsena ho hlophisa kapele boemo ba element.

E tsitsitseng holimo

Beha elemente kaholimo ho boema-kepe, ho tloha pheletsong ho isa pheletsong. Etsa bonnete ba hore o utloisisa litlamorao tsa boemo bo tsitsitseng morerong oa hau; o ka hloka ho eketsa CSS e eketsehileng.

<div class="fixed-top">...</div>

E tsitsitseng tlase

Beha elemente botlaaseng ba sebaka sa pono, ho tloha pheletsong ho isa pheletsong. Etsa bonnete ba hore o utloisisa litlamorao tsa boemo bo tsitsitseng morerong oa hau; o ka hloka ho eketsa CSS e eketsehileng.

<div class="fixed-bottom">...</div>

Bokaholimo bo khomarelang

Beha ntho e kaholimo ho sebaka sa pono, ho tloha pheletsong ho isa pheletsong, empa feela ka mor'a hore u fetele ho eona. Sesebelisoa .sticky-topse sebelisa CSS's position: sticky, e sa tšehetsoeng ka botlalo ho libatli tsohle.

<div class="sticky-top">...</div>

Karolo e ka holimo e arabelang

Liphetoho tse fapaneng li boetse li teng bakeng sa .sticky-toplisebelisoa.

<div class="sticky-sm-top">Stick to the top on viewports sized SM (small) or wider</div>
<div class="sticky-md-top">Stick to the top on viewports sized MD (medium) or wider</div>
<div class="sticky-lg-top">Stick to the top on viewports sized LG (large) or wider</div>
<div class="sticky-xl-top">Stick to the top on viewports sized XL (extra-large) or wider</div>