Source

Booska

Isticmaal qalabkan gacanta-gaaban si aad dhakhso ugu habaynayso booska curiyaha.

Qiimaha guud

Fasallada meelaynta degdega ah ayaa la heli karaa, in kasta oo aanay jawaab celin lahayn.

<div class="position-static">...</div>
<div class="position-relative">...</div>
<div class="position-absolute">...</div>
<div class="position-fixed">...</div>
<div class="position-sticky">...</div>

Sare go'an

Dhig shay meesha ugu sarreysa ee daawashada, gees ilaa gees. Hubi in aad fahantay caqabadaha booska go'an ee mashruucaaga; waxaa laga yaabaa inaad u baahato inaad ku darto CSS dheeraad ah.

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

Hoosta go'an

Dhig curiye dhinaca hoose ee daawashada, gees ilaa gees. Hubi in aad fahantay caqabadaha booska go'an ee mashruucaaga; waxaa laga yaabaa inaad u baahato inaad ku darto CSS dheeraad ah.

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

Sare dhegdheg leh

Dhig shay meesha ugu sarreysa ee daawashada, gees ilaa gees, laakiin kaliya ka dib markaad ka gudubto. Utility wuxuu .sticky-topisticmaalaa CSS's position: sticky, kaas oo aan si buuxda loo taageero dhammaan daalacashada.

IE11 iyo IE10 waxay noqon doonaan position: stickysida position: relative. Sidan oo kale, waxaan ku duubnaa qaababka @supportssu'aalo, anagoo xaddidayna ku dhegga daalacashada kaliya ee si habboon u bixin kara.

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