Link we dɛn dɔn strɛch
Mek ɛni HTML ɛlimɛnt ɔ Bootstrap kɔmpɔnɛnt we yu kin klik bay we yu “stretch” wan nest link tru CSS.
Ad .stretched-link
to wan link fɔ mek in kɔntinɛnt blɔk ebul fɔ klik tru wan ::after
pseudo ɛlimɛnt. Bɔku tɛm, dis min se wan ɛlimɛnt wit position: relative;
we gɛt link wit di .stretched-link
klas kin klik.
Kad dɛn gɛt position: relative
bay difɔlt na Bootstrap, so insay dis kes yu kin ad di .stretched-link
klas sef wan to wan link na di kad we nɔ gɛt ɛni ɔda chenj na HTML.
Bɔku link ɛn tap target dɛn nɔ kin advays wit strɛch link dɛn. Bɔt sɔm position
ɛn z-index
stayl dɛn kin ɛp if dɛn nid fɔ du dis.
Kad wit stret link
Sɔm kwik ɛgzampul tɛks fɔ bil pan di kad taytul ɛn mek di bɔku pan di tin dɛn we de insay di kad.
Go sɔmsayMidia ɔbjɛkt dɛn nɔ gɛt position: relative
bay difɔlt, so wi nid fɔ ad di .position-relative
ya fɔ mek di link nɔ strɛch ausayd di midia ɔbjɛkt.
Midya wit strɛch link
Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante solisitudin. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis. Fusce kondimɛnt nunc ac nisi vulputate fringila. Donec lacinia congue felis na di faucibus.
Go sɔmsayKɔlɔm dɛn na position: relative
bay difɔlt, so kɔlɔm dɛn we yu kin klik jɔs nid di .stretched-link
klas na wan link. Bɔt fɔ strɛch wan link oba wan ol wan .row
nid fɔ .position-static
de na di kɔlɔm ɛn .position-relative
na di row.
Kɔlɔm dɛn we gɛt strɛch link
Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante solisitudin. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis. Fusce kondimɛnt nunc ac nisi vulputate fringila. Donec lacinia congue felis na di faucibus.
Go sɔmsayFɔ no di blɔk we de insay
If i tan lɛk se di link we dɛn strɛch nɔ de wok, i go mɔs bi se di blɔk we de insay go bi di rizin. Di CSS prɔpati dɛn we de dɔŋ ya go mek wan ɛlimɛnt bi di blɔk we de insay:
- Wan
position
valyu we nɔtostatic
- A
transform
ɔperspective
valyu ɔda wan pasnone
- Wan
will-change
valyu fɔtransform
ɔperspective
- Wan
filter
valyu we nɔtonone
ɔ wanwill-change
valyu fɔfilter
(na Fayafaks nɔmɔ de wok)
Kad wit link dɛn we dɛn strɛch
Sɔm kwik ɛgzampul tɛks fɔ bil pan di kad taytul ɛn mek di bɔku pan di tin dɛn we de insay di kad.
Stretched link nɔ go wok ya, bikɔs position: relative
dɛn ad am to di link
Dis strɛch link go jɔs spred oba di p
-tag, bikɔs dɛn dɔn aplay wan transfɔm to am.