Yeqela kokuqukethwe okuyinhloko Yeqela ku-docs navigation
Check
in English

Isikhundla

Sebenzisa laba basizi ukuze ulungiselele ngokushesha indawo yento.

Ingaphezulu elilungisiwe

Misa i-elementi phezulu kwembobo yokubuka, ukusuka onqenqemeni ukuya onqenqemeni. Qiniseka ukuthi uyakuqonda ukubaluleka kwesimo esigxilile kuphrojekthi yakho; ungase udinge ukwengeza i-CSS eyengeziwe.

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

Kulungiswe phansi

Misa i-elementi ezansi kwembobo yokubuka, ukusuka onqenqemeni ukuya onqenqemeni. Qiniseka ukuthi uyakuqonda ukubaluleka kwesimo esigxilile kuphrojekthi yakho; ungase udinge ukwengeza i-CSS eyengeziwe.

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

Okunamathelayo phezulu

Misa i-elementi phezulu kwembobo yokubuka, ukusuka onqenqemeni ukuya onqenqemeni, kodwa kuphela ngemva kokuthi uskrole udlule kuyo.

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

Ingaphezulu elinamathelayo elisabelayo

Izinguquko ezisabelayo zikhona futhi .sticky-topzosizo.

<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>
<div class="sticky-xxl-top">Stick to the top on viewports sized XXL (extra-extra-large) or wider</div>

Isingezansi esinamathelayo

Misa i-elementi ezansi kwembobo yokubuka, ukusuka onqenqemeni kuye konqenqemeni, kodwa kuphela ngemva kokuthi uskrole udlule kuyo.

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

Isingezansi esinamathelayo esisabelayo

Izinguquko ezisabelayo zikhona futhi .sticky-bottomzosizo.

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