in English
Esika
Salelá basalisi oyo mpo na kobongisa nokinoki esika ya eloko moko.
Na lokasa oyo
Fixe likolo
Tia eleman moko na likolo ya esika ya kotala, kobanda na nsɔngɛ tii na nsɔngɛ. Sala que o comprendre ba ramifications ya position fixe na projet na yo; ekoki kozala ete osengeli kobakisa CSS mosusu.
<div class="fixed-top">...</div>
Fixe na se
Tia eleman moko na nse ya esika ya kotala, kobanda na nsɔngɛ tii na nsɔngɛ. Sala que o comprendre ba ramifications ya position fixe na projet na yo; ekoki kozala ete osengeli kobakisa CSS mosusu.
<div class="fixed-bottom">...</div>
Top ya kokangama
Tyá elembo moko na likoló ya esika ya kotala, kobanda na nsɔngɛ tii na nsɔngɛ, kasi kaka nsima ya koleka na yango. Utilitaires .sticky-top
esalela CSS's position: sticky
, oyo esungami mobimba te na ba navigateurs nionso.
<div class="sticky-top">...</div>
Top ya kokangama oyo ezo répondre
Ba variations ya réponse ezali pe pona .sticky-top
utilité.
<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>