Kadodo si keke ɖe enu
Na HTML ƒe akpa ɖesiaɖe alo Bootstrap ƒe akpa ɖesiaɖe nate ŋu azi edzi to “keke” kadodo si wotsɔ ƒo ƒui to CSS dzi me.
Tsɔ kpe .stretched-link
ɖe kadodo aɖe ŋu be wòana eƒe akpa si le eme la nate ŋu akli to ::after
alakpanu aɖe dzi. Zi geɖe la, esia fia be woate ŋu azi element aɖe position: relative;
si me esi me kadodo le kple .stretched-link
klass la le.
Kpekpeɖeŋugbalẽviwo position: relative
le gɔmedzedzea me le Bootstrap me, eyata le go sia me la, àteŋu atsɔ .stretched-link
klass la akpe ɖe kadodo aɖe ŋu le kaɖia me dedie HTML ƒe tɔtrɔ bubu aɖeke manɔmee.
Womekafu kadodo geɖe kple taƒoƒo ƒe taɖodzinuwo kple kadodo siwo keke ta o. Gake ɖewo position
kple z-index
atsyãwo ate ŋu akpe ɖe ame ŋu nenye be esia bia.
Kpekpeɖeŋugbalẽvi si me wokeke kadodoa le
Kpɔɖeŋu nuŋɔŋlɔ aɖewo kabakaba be woatu ɖe agbalẽvia ƒe tanya dzi eye woawɔ agbalẽvia me nyawo ƒe akpa gãtɔ.
Yi afi aɖeMedia nuawo mele position: relative
gɔmedzedzea me o, eyata ele be míatsɔ .position-relative
afisia akpe ɖe eŋu be kadodoa nagakeke le media nu la godo o.
Media kple kadodo si keke
Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque si wowɔna do ŋgɔ na ʋɔnudɔdrɔ̃. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.
Yi afi aɖeSɔtiwo le position: relative
gɔmedzedzea me, eyata sɔti siwo dzi woate ŋu azi ɖo la bia .stretched-link
klass la le kadodo aɖe dzi ko. Gake kadodo aɖe keke ɖe nu blibo aɖe dzi .row
bia be .position-static
woanɔ sɔti la kple .position-relative
fli la dzi.
Sɔti siwo ŋu wokeke kadodo le
Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque si wowɔna do ŋgɔ na ʋɔnudɔdrɔ̃. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.
Yi afi aɖeDe dzesi block si le eme
Ne edze abe kadodo si keke la mewɔa dɔ o ene la, anɔ eme be block si le eme lae anye nusi gbɔ wòtso. CSS ƒe nɔnɔme siwo gbɔna la ana element aɖe nanye block si me le:
- Asixɔxɔ
position
bubu si menyestatic
- A
transform
aloperspective
asixɔxɔ bubu si menyenone
will-change
Asixɔxɔ aɖe si letransform
alo ŋuperspective
- Asixɔxɔ
filter
bubu si menyenone
alowill-change
asixɔxɔ si lefilter
(Firefox dzi koe wòwɔa dɔ le) .
Kpekpeɖeŋugbalẽvi si dzi wokeke kadodowo le
Kpɔɖeŋu nuŋɔŋlɔ aɖewo kabakaba be woatu ɖe agbalẽvia ƒe tanya dzi eye woawɔ agbalẽvia me nyawo ƒe akpa gãtɔ.
Stretched link mawɔ dɔ le afisia o, elabena position: relative
wotsɔe kpe ɖe kadodoa ŋu
-tag la dzi koe woakaka kadodo sia si keke la p
, elabena wowɔa tɔtrɔ ɖe eŋu.