ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯛ꯫
CSSꯒꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯅꯦꯁ꯭ꯇꯦꯗ ꯂꯤꯉ꯭ꯛ ꯑꯃꯥ “ꯁ꯭ꯠꯔꯦꯆ” ꯇꯧꯗꯨꯅꯥ HTML ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯍꯦꯛꯇꯕꯨ ꯅꯠꯠꯔꯒꯥ Bootstrap ꯀꯝꯄꯣꯅꯦꯟꯇ ꯑꯃꯍꯦꯛꯇꯕꯨ ꯀ꯭ꯂꯤꯛ ꯇꯧꯕꯥ ꯌꯥꯕꯥ ꯑꯣꯏꯍꯅꯒꯗꯕꯅꯤ꯫
ꯃꯁꯤꯒꯤ ꯌꯥꯑꯣꯔꯤꯕꯥ ꯕ꯭ꯂꯣꯛ ꯑꯁꯤ ꯄ꯭ꯁꯨꯗꯣ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯒꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯀ꯭ꯂꯤꯛ ꯇꯧꯕꯥ ꯌꯥꯕꯥ .stretched-link
ꯑꯣꯏꯍꯟꯅꯕꯥ ꯂꯤꯉ꯭ꯛ ꯑꯃꯗꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ꯫ ꯑꯌꯥꯝꯕꯥ ꯀꯦꯁꯁꯤꯡꯗꯗꯤ, ꯃꯁꯤꯅꯥ ꯇꯥꯀꯄꯗꯤ ꯀ꯭ꯂꯥꯁ ꯑꯗꯨꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯂꯤꯉ꯭ꯛ ꯑꯃꯥ ꯌꯥꯎꯕꯥ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯅꯥ ꯀ꯭ꯂꯤꯛ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ CSS ꯑꯁꯤ ꯀꯔꯝꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯒꯦ ꯍꯥꯌꯕꯗꯨ ꯄꯤꯔꯒꯥ ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯈꯉꯕꯤꯌꯨ , ꯑꯌꯥꯝꯕꯥ ꯇꯦꯕꯜ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯒꯥ ꯃꯤꯛꯁ ꯇꯧꯕꯥ ꯌꯥꯔꯣꯏ.::after
position: relative;
.stretched-link
position
.stretched-link
ꯀꯥꯔꯗꯁꯤꯡ ꯑꯁꯤ position: relative
ꯕꯨꯇꯁ꯭ꯠꯔꯥꯄꯇꯥ ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏꯅꯥ ꯂꯩ, ꯃꯔꯝ ꯑꯗꯨꯅꯥ ꯀꯦꯁ ꯑꯁꯤꯗꯥ ꯅꯍꯥꯛꯅꯥ .stretched-link
ꯑꯇꯣꯞꯄꯥ HTML ꯍꯣꯡꯗꯣꯀꯄꯥ ꯑꯃꯠꯇꯥ ꯂꯩꯇꯅꯥ ꯀꯥꯔꯗꯇꯥ ꯂꯩꯕꯥ ꯂꯤꯉ꯭ꯛ ꯑꯃꯗꯥ ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯁꯥꯐꯅꯥ ꯍꯥꯄꯆꯤꯅꯕꯥ ꯌꯥꯏ꯫
ꯃꯜꯇꯤꯄꯜ ꯂꯤꯉ꯭ꯛ ꯑꯃꯁꯨꯡ ꯇꯦꯞ ꯇꯥꯔꯒꯦꯇꯁꯤꯡ ꯑꯁꯤ ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯀꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯔꯦꯀꯃꯦꯟꯗ ꯇꯧꯗꯦ꯫ ꯑꯗꯨꯝ ꯑꯣꯏꯅꯃꯛ, ꯃꯁꯤ ꯃꯊꯧ ꯇꯥꯔꯕꯗꯤ ꯈꯔꯗꯤ position
ꯑꯃꯁꯨꯡ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡꯅꯥ ꯃꯇꯦꯡ ꯄꯥꯡꯕꯥ ꯌꯥꯏ꯫z-index
ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯛ ꯂꯩꯕꯥ ꯀꯥꯔꯗ꯫
ꯀꯥꯔꯗꯀꯤ ꯇꯥꯏꯇꯂꯗꯥ ꯁꯦꯃꯒꯠꯅꯕꯥ ꯑꯃꯁꯨꯡ ꯀꯥꯔꯗꯀꯤ ꯀꯟꯇꯦꯟꯇ ꯑꯗꯨꯒꯤ ꯑꯆꯧꯕꯥ ꯁꯔꯨꯛ ꯑꯃꯥ ꯁꯦꯝꯅꯕꯥ ꯊꯨꯅꯥ ꯈꯨꯗꯝ ꯑꯣꯏꯕꯥ ꯇꯦꯛꯁꯠ ꯈꯔꯥ꯫
ꯃꯐꯝ ꯑꯃꯗꯥ ꯆꯠꯂꯨ꯫<div class="card" style="width: 18rem;">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card with stretched link</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary stretched-link">Go somewhere</a>
</div>
</div>
ꯑꯌꯥꯝꯕꯥ ꯀꯁ꯭ꯇꯝ ꯀꯝꯄꯣꯅꯦꯟꯇꯁꯤꯡꯗꯥ position: relative
ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏꯅꯥ ꯂꯩꯇꯦ, ꯃꯔꯝ ꯑꯗꯨꯅꯥ ꯑꯩꯈꯣꯌꯅꯥ ꯃꯐꯝ ꯑꯁꯤꯗꯥ ꯍꯥꯄꯆꯤꯅꯕꯥ ꯃꯊꯧ ꯇꯥꯏ .position-relative
ꯃꯗꯨꯗꯤ ꯂꯤꯉ꯭ꯛ ꯑꯁꯤ ꯃꯃꯥ-ꯃꯄꯥꯒꯤ ꯑꯦꯂꯤꯃꯦꯟꯇꯀꯤ ꯃꯄꯥꯟꯗꯥ ꯆꯦꯅꯕꯥ ꯌꯥꯍꯟꯗꯅꯕꯥ꯫
ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯀꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯀꯁ꯭ꯇꯝ ꯀꯝꯄꯣꯅꯦꯟꯇ꯫
ꯃꯁꯤ ꯀꯁ꯭ꯇꯝ ꯀꯝꯄꯣꯅꯦꯟꯇꯀꯤꯗꯃꯛ ꯄ꯭ꯂꯦꯁꯍꯣꯜꯗꯔ ꯀꯟꯇꯦꯟꯇ ꯈꯔꯅꯤ꯫ ꯃꯁꯤꯅꯥ ꯇꯁꯦꯡꯕꯥ ꯃꯥꯂꯦꯃꯒꯤ ꯀꯟꯇꯦꯟꯇ ꯈꯔꯗꯤ ꯀꯔꯝꯅꯥ ꯑꯣꯏꯒꯅꯤ ꯍꯥꯌꯕꯗꯨ ꯌꯦꯡꯁꯤꯟꯅꯕꯥ ꯄꯥꯟꯗꯝ ꯊꯝꯂꯤ, ꯑꯃꯁꯨꯡ ꯑꯩꯈꯣꯌꯅꯥ ꯃꯐꯝ ꯑꯁꯤꯗꯥ ꯀꯝꯄꯣꯅꯦꯟꯇ ꯑꯁꯤꯕꯨ ꯍꯀꯆꯥꯡ ꯑꯃꯁꯨꯡ ꯁꯥꯏꯖ ꯈꯔꯥ ꯄꯤꯅꯕꯥ ꯁꯤꯖꯤꯟꯅꯔꯤ꯫
ꯃꯐꯝ ꯑꯃꯗꯥ ꯆꯠꯂꯨ꯫<div class="d-flex position-relative">
<img src="..." class="flex-shrink-0 me-3" alt="...">
<div>
<h5 class="mt-0">Custom component with stretched link</h5>
<p>This is some placeholder content for the custom component. It is intended to mimic what some real-world content would look like, and we're using it here to give the component a bit of body and size.</p>
<a href="#" class="stretched-link">Go somewhere</a>
</div>
</div>
ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯛ ꯂꯩꯕꯥ ꯀꯂꯃꯁꯤꯡ꯫
ꯑꯇꯣꯞꯄꯥ ꯀꯁ꯭ꯇꯝ ꯀꯝꯄꯣꯅꯦꯟꯇ ꯑꯁꯤꯒꯤꯗꯃꯛ ꯄ꯭ꯂꯦꯁꯍꯣꯜꯗꯔ ꯀꯟꯇꯦꯟꯇꯀꯤ ꯑꯇꯣꯞꯄꯥ ꯏꯟꯁꯇꯦꯟꯁ ꯑꯃꯅꯤ꯫ ꯃꯁꯤꯅꯥ ꯇꯁꯦꯡꯕꯥ ꯃꯥꯂꯦꯃꯒꯤ ꯀꯟꯇꯦꯟꯇ ꯈꯔꯗꯤ ꯀꯔꯝꯅꯥ ꯑꯣꯏꯒꯅꯤ ꯍꯥꯌꯕꯗꯨ ꯌꯦꯡꯁꯤꯟꯅꯕꯥ ꯄꯥꯟꯗꯝ ꯊꯝꯂꯤ, ꯑꯃꯁꯨꯡ ꯑꯩꯈꯣꯌꯅꯥ ꯃꯐꯝ ꯑꯁꯤꯗꯥ ꯀꯝꯄꯣꯅꯦꯟꯇ ꯑꯁꯤꯕꯨ ꯍꯀꯆꯥꯡ ꯑꯃꯁꯨꯡ ꯁꯥꯏꯖ ꯈꯔꯥ ꯄꯤꯅꯕꯥ ꯁꯤꯖꯤꯟꯅꯔꯤ꯫
ꯃꯐꯝ ꯑꯃꯗꯥ ꯆꯠꯂꯨ꯫<div class="row g-0 bg-light position-relative">
<div class="col-md-6 mb-md-0 p-md-4">
<img src="..." class="w-100" alt="...">
</div>
<div class="col-md-6 p-4 ps-md-0">
<h5 class="mt-0">Columns with stretched link</h5>
<p>Another instance of placeholder content for this other custom component. It is intended to mimic what some real-world content would look like, and we're using it here to give the component a bit of body and size.</p>
<a href="#" class="stretched-link">Go somewhere</a>
</div>
</div>
ꯌꯥꯎꯔꯤꯕꯥ ꯕ꯭ꯂꯣꯛ ꯑꯗꯨ ꯃꯁꯛ ꯈꯪꯗꯣꯀꯄꯥ꯫
ꯀꯔꯤꯒꯨꯝꯕꯥ ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯛ ꯑꯗꯨꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯥ ꯎꯔꯕꯗꯤ, ꯃꯗꯨꯗꯥ ꯂꯩꯔꯤꯕꯥ ꯕ꯭ꯂꯣꯛ ꯑꯗꯨꯅꯥ ꯃꯔꯝ ꯑꯣꯏꯔꯀꯄꯥ ꯌꯥꯏ꯫ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ CSS ꯄ꯭ꯔꯣꯄꯔꯇꯤꯁꯤꯡ ꯑꯁꯤꯅꯥ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯕꯨ ꯌꯥꯎꯔꯤꯕꯥ ꯕ꯭ꯂꯣꯛ ꯑꯗꯨ ꯑꯣꯏꯍꯅꯒꯅꯤ:
position
ꯅꯠꯇꯕꯥ ꯑꯇꯣꯞꯄꯥ ꯚꯦꯜꯌꯨ ꯑꯃꯅꯤ꯫static
- ꯑꯦ
transform
ꯅꯠꯠꯔꯒꯥperspective
ꯚꯦꯜꯌꯨ ꯅꯠꯇꯕꯥ ꯑꯇꯩ꯫none
- ꯅꯠꯔꯒꯥ
will-change
ꯚꯦꯜꯌꯨ ꯑꯃꯥ꯫transform
perspective
filter
ꯅꯠꯇꯕꯥ ꯑꯇꯣꯞꯄꯥ ꯚꯦꯜꯌꯨ ꯑꯃꯥnone
ꯅꯠꯠꯔꯒꯥwill-change
ꯚꯦꯜꯌꯨ ꯑꯃꯥfilter
(ꯐꯥꯏꯔꯐꯛꯁꯇꯥ ꯈꯛꯇꯗꯥ ꯊꯕꯛ ꯇꯧꯏ)
ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯀꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯀꯥꯔꯗ꯫
ꯀꯥꯔꯗꯀꯤ ꯇꯥꯏꯇꯂꯗꯥ ꯁꯦꯃꯒꯠꯅꯕꯥ ꯑꯃꯁꯨꯡ ꯀꯥꯔꯗꯀꯤ ꯀꯟꯇꯦꯟꯇ ꯑꯗꯨꯒꯤ ꯑꯆꯧꯕꯥ ꯁꯔꯨꯛ ꯑꯃꯥ ꯁꯦꯝꯅꯕꯥ ꯊꯨꯅꯥ ꯈꯨꯗꯝ ꯑꯣꯏꯕꯥ ꯇꯦꯛꯁꯠ ꯈꯔꯥ꯫
ꯃꯐꯝ ꯑꯁꯤꯗꯥ ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯛ ꯑꯁꯤ ꯊꯕꯛ ꯇꯧꯔꯣꯏ, ꯃꯔꯃꯗꯤ position: relative
ꯂꯤꯉ꯭ꯛ ꯑꯗꯨꯗꯥ ꯍꯥꯄꯆꯤꯜꯂꯦ꯫
ꯃꯁꯤꯒꯤ ꯁ꯭ꯠꯔꯦꯠ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯛ ꯑꯁꯤ -ꯇꯦꯒꯀꯤ ꯃꯊꯛꯇꯥ ꯈꯛꯇꯃꯛ ꯁꯟꯗꯣꯛꯀꯅꯤ p
, ꯃꯔꯃꯗꯤ ꯃꯁꯤꯗꯥ ꯇ꯭ꯔꯥꯟꯁꯐꯣꯔꯝ ꯑꯃꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯏ꯫
<div class="card" style="width: 18rem;">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card with stretched links</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<p class="card-text">
<a href="#" class="stretched-link text-danger" style="position: relative;">Stretched link will not work here, because <code>position: relative</code> is added to the link</a>
</p>
<p class="card-text bg-light" style="transform: rotate(0);">
This <a href="#" class="text-warning stretched-link">stretched link</a> will only be spread over the <code>p</code>-tag, because a transform is applied to it.
</p>
</div>
</div>