Yakatambanudzwa link
Ita chero chinhu cheHTML kana Bootstrap chikamu chinodzvanywa ne "kutambanudza" chinongedzo nested kuburikidza neCSS.
Wedzera .stretched-link
kune chinongedzo kuti iite iyo ine block inodzvanywa kuburikidza nechinhu ::after
chepseudo. Kazhinji, izvi zvinoreva kuti chinhu position: relative;
chine chinongedzo .stretched-link
nekirasi chinodzvanywa.
Makadhi ane position: relative
nekusarudzika muBootstrap, saka mune iyi kesi unogona kuwedzera zvakachengeteka .stretched-link
kirasi kune chinongedzo mune kadhi pasina imwe shanduko yeHTML.
Multiple links uye tap tap haikurudzirwe ine yakatambanudzwa link. Nekudaro, mamwe position
uye z-index
masitayera anogona kubatsira kana izvi zvichidikanwa.
Kadhi ine yakatambanudzwa link
Mamwe mameseji emuenzaniso wekukurumidza kuvaka pane zita remakadhi uye kugadzira iyo yakawanda yemukati kadhi.
Enda kune imwe nzvimboMidhiya zvinhu hazvina position: relative
nekukasira, saka isu tinofanirwa kuwedzera .position-relative
pano kudzivirira chinongedzo kubva kutambanudza kunze kweiyo media chinhu.
Media ine yakatambanudzwa link
Cras sit amet nibh libero, mu 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.
Enda kune imwe nzvimboMakolamu position: relative
ndeekusarudzika, saka makoramu anodzvanya anongoda .stretched-link
kirasi pane chinongedzo. Nekudaro, kutambanudza chinongedzo pamusoro pese .row
kunoda .position-static
pamutsetse uye .position-relative
pamutsetse.
Makoramu ane chinongedzo chakatambanudzwa
Cras sit amet nibh libero, mu 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.
Enda kune imwe nzvimboKuziva iyo ine block
Kana iyo yakatambanudzwa link ichiita senge isingashande, iyo ine block ingangove iri chikonzero. Iyo inotevera CSS zvivakwa ichaita chinhu icho chine block:
- A
position
value kunzestatic
- A
transform
kanaperspective
kukosha kunze kwenone
- A
will-change
value oftransform
orperspective
- Kukosha
filter
kumwe kunzenone
kanawill-change
kukosha kwefilter
(inoshanda chete paFirefox)
Kadhi ine akatambanudzwa links
Mamwe mameseji emuenzaniso wekukurumidza kuvaka pane zita remakadhi uye kugadzira iyo yakawanda yemukati kadhi.
Yakatambanudzwa link haishande pano, nekuti position: relative
inowedzerwa kune iyi link
Ichi chinongedzo chakatambanudzwa chinongopararira pamusoro pe- p
tag, nekuti shanduko inoshandiswa pairi.