Link a inzawm khawm
CSS hmanga nested link “stretch”-in HTML element emaw Bootstrap component emaw eng pawh click theih turin siam rawh.
.stretched-link
Link pakhatah dah la , a containing block::after
chu pseudo element hmanga click theih turin a siam ang. A tam zawkah chuan class position: relative;
nena link awmna element nei chu click theih a ni tihna a ni..stretched-link
Card te position: relative
hian Bootstrap ah default in an nei a, chuvangin hetiang a nih chuan .stretched-link
HTML tihdanglam ngai lovin card chhunga link pakhatah class chu him takin i dah thei ang.
Link tam tak leh tap target te hi stretched link te nen chuan a tha lo. Mahse, thenkhat position
leh z-index
style te hian hei hi a tul a nih chuan a pui thei a ni.
Card ah chuan link a inzawm a
Card title-a siam tur leh card-a thu awm tam zawk siam turin quick example text thenkhat.
Khawi emaw laiah kal rawhMedia object hian default-in an nei lo va , chuvangin media object pawn lama link a inzawm loh nan here hi position: relative
kan add a ngai a ni..position-relative
Media leh link stretched tak tak te
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. Nulla vel metus scelerisque ante sollicitudin. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus-ah hian Donec lacinia congue felis a awm a.
Khawi emaw laiah kal rawhColumn te position: relative
hi default a nih avangin click theih column te .stretched-link
hian link pakhata class chauh a mamawh a ni. Mahse, link pakhat pum pui chunga stretch tur chuan column leh row-ah .row
a ngai a ni..position-static
.position-relative
Column te chu stretched link a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. Nulla vel metus scelerisque ante sollicitudin. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus-ah hian Donec lacinia congue felis a awm a.
Khawi emaw laiah kal rawhA chhunga block awmte hriatchhuah
Stretched link hian hna a thawk lo ang tih a hriat chuan containing block hi a chhan a ni ngei ang. A hnuaia CSS property te hian element pakhat chu containing block a siam ang:
- A
position
value dang tih loh chustatic
- A
transform
emawperspective
value dang emaw tih loh chunone
- A
will-change
value oftransform
orperspective
filter
Value dang emaw value dangnone
emaw (Firefox-ah chauh a thawk)will-change
filter
Card ah chuan links stretched a awm
Card title-a siam tur leh card-a thu awm tam zawk siam turin quick example text thenkhat.
He stretched link hi -tag ah chauh a darh ang p
, a chhan chu a chungah transform a apply a ni.