loulou kikoo
E hana i kekahi mea HTML a i ʻole ʻāpana Bootstrap hiki ke kaomi ʻia e ka "kau" i kahi loulou nested ma o CSS.
E hoʻohui .stretched-link
i kahi loulou e hiki ke kaomi i kāna poloka ma o kahi mea ::after
pseudo. I ka hapanui o nā hihia, ʻo ia hoʻi, hiki ke kaomi i kahi mea me position: relative;
ka loulou me ka .stretched-link
papa.
Loaʻa nā kāleka position: relative
ma Bootstrap, no laila hiki iā ʻoe ke hoʻohui i ka .stretched-link
papa i kahi loulou i ke kāleka me ka ʻole o nā hoʻololi HTML ʻē aʻe.
ʻAʻole ʻōlelo ʻia nā loulou he nui a me ka paʻi ʻana me nā loulou kikoo. Eia naʻe, hiki i kekahi position
a me z-index
nā ʻano ke kōkua inā pono kēia.
Kāleka me ka loulou lohi
ʻO kekahi laʻana kikokikona wikiwiki e kūkulu ma luna o ke poʻo inoa kāleka a hoʻonui i ka nui o ka ʻike o ke kāleka.
Hele i kahiʻAʻole loaʻa i nā mea Media position: relative
ma ke ʻano maʻamau, no laila pono mākou e hoʻohui i .position-relative
kēia e pale aku i ka loulou mai ka hohola ʻana ma waho o ka mea media.
Media me ka loulou kikoo
Cras noho amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Hele i kahiHe position: relative
paʻamau nā kolamu, no laila, pono nā kolamu hiki ke kaomi i ka .stretched-link
papa ma kahi loulou. .row
Eia nō naʻe, pono ke kikoo ʻana i kahi loulou .position-static
ma ke kolamu a .position-relative
ma ka lālani.
Nā kolamu me ka loulou kikoo
Cras noho amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Hele i kahiʻIke ʻana i ka poloka i loaʻa
Inā ʻaʻole e holo ka loulou, ʻo ia paha ke kumu. E hoʻolilo ʻia nā waiwai CSS ma lalo nei i kahi mea i loko o ka poloka:
- He
position
waiwai ʻē aʻestatic
- A i
transform
ʻoleperspective
ka waiwai ʻē aʻenone
- He
will-change
waiwai o a itransform
oleperspective
- He
filter
waiwai ʻē aʻenone
a i ʻole hewill-change
waiwai ofilter
(hana wale nō ma Firefox)
Kāleka me nā loulou kikoo
ʻO kekahi laʻana kikokikona wikiwiki e kūkulu ma luna o ke poʻo inoa kāleka a hoʻonui i ka nui o ka ʻike o ke kāleka.
ʻAʻole e hana ʻia ka loulou ʻōlima ma ʻaneʻi, no ka mea position: relative
ua hoʻohui ʻia i ka loulou
E hohola wale ʻia kēia loulou ma luna o ka p
-tag, no ka mea, hoʻohana ʻia kahi hoʻololi iā ia.