Lavozim
Element o'rnini tezda sozlash uchun ushbu yordamchilardan foydalaning.
Ruxsat etilgan tepa
Elementni ko'rish oynasining yuqori qismiga, chetidan chetiga joylashtiring. Loyihangizdagi sobit pozitsiyaning oqibatlarini tushunganingizga ishonch hosil qiling; qo'shimcha CSS qo'shishingiz kerak bo'lishi mumkin.
<div class="fixed-top">...</div>
Ruxsat etilgan pastki
Elementni ko'rish oynasining pastki qismiga, chetidan chetiga joylashtiring. Loyihangizdagi sobit pozitsiyaning oqibatlarini tushunganingizga ishonch hosil qiling; qo'shimcha CSS qo'shishingiz kerak bo'lishi mumkin.
<div class="fixed-bottom">...</div>
Yopishqoq tepa
Elementni ko'rish oynasining yuqori qismiga chetidan chetiga o'rnating, lekin faqat uning yonidan o'tgandan keyin.
<div class="sticky-top">...</div>
Ta'sirchan yopishqoq tepa
.sticky-top
Utility uchun javob beruvchi o'zgarishlar ham mavjud .
<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>
Yopishqoq pastki
Elementni ko'rish oynasining pastki qismiga chetidan chetiga o'tkazing, lekin faqat uning yonidan o'tgandan keyin.
<div class="sticky-bottom">...</div>
Javob beruvchi yopishqoq pastki
.sticky-bottom
Utility uchun javob beruvchi o'zgarishlar ham mavjud .
<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>