Stretched Link
A stretched link makes its whole containing block clickable, so a card, list row or tile behaves like one big link. The nearest parent with position: relative (such as a card or position-relative) decides how far the clickable area reaches.
1Card with a stretched button
The button link stretches over the whole card; the dashed outline marks the clickable area.
<div class="card hp-hit" style="max-width:18rem">
<img src="../assets/img/photo-2.svg" class="card-img-top" alt="">
<div class="card-body">
<h3 class="h6 card-title">Web design</h3>
<p class="card-text small">The new global clients turns new ideas to life at a fair price.</p>
<a href="#" class="btn btn-primary btn-sm stretched-link">Explore</a>
</div>
</div>2Card title as the link
Putting stretched-link on the title link makes the heading the accessible name of the whole card.
<div class="card hp-hit" style="max-width:22rem">
<div class="card-body">
<span class="badge text-bg-light border mb-2">how-to</span>
<h3 class="h6"><a href="#" class="stretched-link link-body-emphasis no-underline">A guide to content strategy</a></h3>
<p class="small text-muted mb-0">Jun 8, 2026</p>
</div>
</div>3Media object
A d-flex row with position-relative so the link covers the image and the text.
Inside the clear experience
A simple idea brings projects moving forward with friendly support.
Continue reading<div class="flex relative gap-4 hp-hit p-2 rounded-md">
<img src="../assets/img/photo-4.svg" alt="" width="120" height="80" class="rounded-md shrink-0 object-cover">
<div>
<h3 class="h6 mb-1">Inside the clear experience</h3>
<p class="small mb-1">A simple idea brings projects moving forward with friendly support.</p>
<a href="#" class="stretched-link small">Continue reading</a>
</div>
</div>4Column as the containing block
Grid columns are not positioned, so add position-relative to the column you want to be clickable.
Only this column is clickable
A fast dashboard lets you focused on what matters on any device.
Open article<div class="row g-0 bg-surface-3 rounded-md overflow-hidden">
<div class="col-md-5">
<img src="../assets/img/photo-6.svg" alt="" class="w-full h-full object-cover" style="min-height:10rem">
</div>
<div class="col-md-7 p-4 relative hp-hit">
<h3 class="h6">Only this column is clickable</h3>
<p class="small">A fast dashboard lets you focused on what matters on any device.</p>
<a href="#" class="stretched-link">Open article</a>
</div>
</div>5Product tiles
Shop tiles where the whole card opens the product page.
<div class="row g-3">
<div class="col-md-4">
<div class="card h-full hp-hit">
<img src="../assets/img/product-1.svg" class="card-img-top" alt="">
<div class="card-body">
<h3 class="h6 mb-1"><a href="#" class="stretched-link link-body-emphasis no-underline">Social kit</a></h3>
<span class="font-semibold">$271.00</span>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card h-full hp-hit">
<img src="../assets/img/product-2.svg" class="card-img-top" alt="">
<div class="card-body">
<h3 class="h6 mb-1"><a href="#" class="stretched-link link-body-emphasis no-underline">Website package</a></h3>
<span class="font-semibold">$460.99</span>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card h-full hp-hit">
<img src="../assets/img/product-3.svg" class="card-img-top" alt="">
<div class="card-body">
<h3 class="h6 mb-1"><a href="#" class="stretched-link link-body-emphasis no-underline">Brand sprint</a></h3>
<span class="font-semibold">$349.99</span>
</div>
</div>
</div>
</div>6Notification rows
List group items are already positioned, so each row is clickable with one stretched link.
<div class="list-group">
<div class="list-group-item flex gap-4">
<span class="text-primary"><i class="bi bi-chat-left-dots-fill" aria-hidden="true"></i></span>
<div>
<a href="#" class="stretched-link link-body-emphasis no-underline font-semibold small">What's new in branding</a>
<p class="small text-muted mb-0">just now</p>
</div>
</div>
<div class="list-group-item flex gap-4">
<span class="text-primary"><i class="bi bi-bag-check-fill" aria-hidden="true"></i></span>
<div>
<a href="#" class="stretched-link link-body-emphasis no-underline font-semibold small">What's new in web</a>
<p class="small text-muted mb-0">just now</p>
</div>
</div>
<div class="list-group-item flex gap-4">
<span class="text-primary"><i class="bi bi-bag-check-fill" aria-hidden="true"></i></span>
<div>
<a href="#" class="stretched-link link-body-emphasis no-underline font-semibold small">A guide to campaign production</a>
<p class="small text-muted mb-0">17 hours ago</p>
</div>
</div>
</div>7Team member cards
Profile cards that open the member page from anywhere on the card.
<div class="row g-3">
<div class="col-6 col-md-4">
<div class="card text-center h-full">
<div class="card-body">
<img src="../assets/img/avatar-4.svg" alt="" width="72" height="72" class="rounded-full mb-2">
<h3 class="h6 mb-0"><a href="#" class="stretched-link link-body-emphasis no-underline">Mason Ortega</a></h3>
<small class="text-muted">Support Specialist</small>
</div>
</div>
</div>
<div class="col-6 col-md-4">
<div class="card text-center h-full">
<div class="card-body">
<img src="../assets/img/avatar-10.svg" alt="" width="72" height="72" class="rounded-full mb-2">
<h3 class="h6 mb-0"><a href="#" class="stretched-link link-body-emphasis no-underline">Ivy Harlow</a></h3>
<small class="text-muted">Finance Lead</small>
</div>
</div>
</div>
<div class="col-6 col-md-4">
<div class="card text-center h-full">
<div class="card-body">
<img src="../assets/img/avatar-3.svg" alt="" width="72" height="72" class="rounded-full mb-2">
<h3 class="h6 mb-0"><a href="#" class="stretched-link link-body-emphasis no-underline">Leo Hughes</a></h3>
<small class="text-muted">Art Director</small>
</div>
</div>
</div>
</div>8Horizontal blog card
A horizontal card layout with the stretched link in the body.
<div class="card overflow-hidden hp-hit">
<div class="row g-0">
<div class="col-4">
<img src="../assets/img/photo-8.svg" alt="" class="w-full h-full object-cover">
</div>
<div class="col-8">
<div class="card-body">
<h3 class="h6"><a href="#" class="stretched-link link-body-emphasis">A guide to campaign production</a></h3>
<p class="small mb-0 hidden sm:block">A fast dashboard makes the whole team on the same page all year round.</p>
</div>
</div>
</div>
</div>9Pricing card
The plan card selects the plan wherever you click.
<div class="card border-primary hp-hit" style="max-width:18rem">
<div class="card-body text-center">
<h3 class="h6 uppercase text-primary">Starter</h3>
<p class="display-6 mb-0">$10.39</p>
<p class="small text-muted">per month</p>
<a href="#" class="btn btn-outline-primary w-full stretched-link">Select Starter</a>
</div>
</div>10Feature tiles
Bordered feature tiles made clickable with a position-relative wrapper.
<div class="row g-3">
<div class="col-md-4">
<div class="relative border rounded-lg p-4 h-full">
<span class="text-2xl text-primary"><i class="bi bi-lightning-charge-fill" aria-hidden="true"></i></span>
<h3 class="h6 mt-2">Fixed-price projects</h3>
<p class="small mb-0">A simple plan gives new ideas to life without the usual hassle.</p>
<a href="#" class="stretched-link" aria-label="Learn more about this feature"></a>
</div>
</div>
<div class="col-md-4">
<div class="relative border rounded-lg p-4 h-full">
<span class="text-2xl text-primary"><i class="bi bi-shield-check" aria-hidden="true"></i></span>
<h3 class="h6 mt-2">Fixed-price projects</h3>
<p class="small mb-0">This fast update turns time back in your day wherever you are.</p>
<a href="#" class="stretched-link" aria-label="Learn more about this feature"></a>
</div>
</div>
<div class="col-md-4">
<div class="relative border rounded-lg p-4 h-full">
<span class="text-2xl text-primary"><i class="bi bi-graph-up-arrow" aria-hidden="true"></i></span>
<h3 class="h6 mt-2">Award-winning team</h3>
<p class="small mb-0">This honest goal shows new ideas to life with friendly support.</p>
<a href="#" class="stretched-link" aria-label="Learn more about this feature"></a>
</div>
</div>
</div>11Search results
Each result block is one large target, handy on touch screens.
The friendly plan checklist
This reliable release connects decisions quicker and clearer without extra tools.
Routine notes for clients
A friendly workflow helps customers coming back without the usual hassle.
3 lessons from our experience
Our web design helps data easy to understand on any device.
<div class="vstack gap-4">
<div class="relative">
<small class="text-success">brand-name-4.example/journey</small>
<h3 class="h6 mb-1"><a href="#" class="stretched-link">The friendly plan checklist</a></h3>
<p class="small text-muted mb-0">This reliable release connects decisions quicker and clearer without extra tools.</p>
</div>
<div class="relative">
<small class="text-success">brand-name-4.example/release</small>
<h3 class="h6 mb-1"><a href="#" class="stretched-link">Routine notes for clients</a></h3>
<p class="small text-muted mb-0">A friendly workflow helps customers coming back without the usual hassle.</p>
</div>
<div class="relative">
<small class="text-success">brand-name-4.example/project</small>
<h3 class="h6 mb-1"><a href="#" class="stretched-link">3 lessons from our experience</a></h3>
<p class="small text-muted mb-0">Our web design helps data easy to understand on any device.</p>
</div>
</div>12File tiles
File cards in a drive view open the file from anywhere on the tile.
<div class="row g-2">
<div class="col-6 col-md-3">
<div class="relative border rounded-md p-4 text-center">
<span class="text-3xl text-danger"><i class="bi bi-filetype-pdf" aria-hidden="true"></i></span><a href="#" class="stretched-link block small truncate link-body-emphasis no-underline">journey-33</a>
</div>
</div>
<div class="col-6 col-md-3">
<div class="relative border rounded-md p-4 text-center">
<span class="text-3xl text-success"><i class="bi bi-filetype-xlsx" aria-hidden="true"></i></span><a href="#" class="stretched-link block small truncate link-body-emphasis no-underline">journey-25</a>
</div>
</div>
<div class="col-6 col-md-3">
<div class="relative border rounded-md p-4 text-center">
<span class="text-3xl text-warning"><i class="bi bi-filetype-pptx" aria-hidden="true"></i></span><a href="#" class="stretched-link block small truncate link-body-emphasis no-underline">experience-14</a>
</div>
</div>
<div class="col-6 col-md-3">
<div class="relative border rounded-md p-4 text-center">
<span class="text-3xl text-info"><i class="bi bi-file-earmark-image-fill" aria-hidden="true"></i></span><a href="#" class="stretched-link block small truncate link-body-emphasis no-underline">experience-28</a>
</div>
</div>
</div>13Event card with date block
A date badge, title and place in one clickable card.
A guide to content strategy
Seoul · 14:30<div class="card hp-hit" style="max-width:24rem">
<div class="card-body flex gap-4">
<div class="text-bg-primary rounded-md text-center px-4 py-2">
<small class="block">NOV</small><strong class="text-xl">3</strong>
</div>
<div>
<h3 class="h6 mb-1"><a href="#" class="stretched-link link-body-emphasis no-underline">A guide to content strategy</a></h3>
<small class="text-muted"><i class="bi bi-geo-alt-fill" aria-hidden="true"></i> Seoul · 14:30</small>
</div>
</div>
</div>14Inbox rows
Message rows where the sender link stretches across the full row.
- Mia Carter07:15
Goal notes for clients
- Nora Ibrahim19:45
Powerful ways to improve your project
- Hana Mensah09:30
8 lessons from our launch
<ul class="list-group">
<li class="list-group-item list-group-item-action flex gap-4 items-start"><img src="../assets/img/avatar-7.svg" alt="" width="36" height="36" class="rounded-full"><div class="grow"><a href="#" class="stretched-link no-underline link-body-emphasis font-semibold small">Mia Carter</a><p class="small text-muted mb-0">Goal notes for clients</p></div><small class="text-muted whitespace-nowrap">07:15</small></li>
<li class="list-group-item list-group-item-action flex gap-4 items-start"><img src="../assets/img/avatar-3.svg" alt="" width="36" height="36" class="rounded-full"><div class="grow"><a href="#" class="stretched-link no-underline link-body-emphasis font-semibold small">Nora Ibrahim</a><p class="small text-muted mb-0">Powerful ways to improve your project</p></div><small class="text-muted whitespace-nowrap">19:45</small></li>
<li class="list-group-item list-group-item-action flex gap-4 items-start"><img src="../assets/img/avatar-8.svg" alt="" width="36" height="36" class="rounded-full"><div class="grow"><a href="#" class="stretched-link no-underline link-body-emphasis font-semibold small">Hana Mensah</a><p class="small text-muted mb-0">8 lessons from our launch</p></div><small class="text-muted whitespace-nowrap">09:30</small></li>
</ul>15Limiting the clickable area
Only the inner box has position-relative, so the stretched link covers it and not the outer card.
This text is outside the clickable area.
<div class="card">
<div class="card-body">
<p class="small text-muted">This text is outside the clickable area.</p>
<div class="relative bg-surface-3 rounded-md p-4 hp-hit">
<strong class="block">Motion graphics</strong> <a href="#" class="stretched-link small">Open</a>
</div>
</div>
</div>16Category image tiles
Image tiles with an overlay caption; the caption link opens the category.
<div class="row g-2">
<div class="col-md-4">
<div class="relative rounded-lg overflow-hidden">
<img src="../assets/img/square-1.svg" alt="" class="w-full object-cover" style="height:9rem">
<div class="absolute bottom-0 start-0 end-0 p-2" style="background:rgba(0,0,0,.5)">
<a href="#" class="stretched-link link-light font-semibold no-underline">Web</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="relative rounded-lg overflow-hidden">
<img src="../assets/img/square-2.svg" alt="" class="w-full object-cover" style="height:9rem">
<div class="absolute bottom-0 start-0 end-0 p-2" style="background:rgba(0,0,0,.5)">
<a href="#" class="stretched-link link-light font-semibold no-underline">Social</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="relative rounded-lg overflow-hidden">
<img src="../assets/img/square-3.svg" alt="" class="w-full object-cover" style="height:9rem">
<div class="absolute bottom-0 start-0 end-0 p-2" style="background:rgba(0,0,0,.5)">
<a href="#" class="stretched-link link-light font-semibold no-underline">Motion</a>
</div>
</div>
</div>
</div>17Course card with progress
A learning card that resumes the course from anywhere on the card.
Campaign production
<div class="card hp-hit" style="max-width:20rem">
<div class="card-body">
<h3 class="h6"><a href="#" class="stretched-link link-body-emphasis no-underline">Campaign production</a></h3>
<div class="progress mb-1" role="progressbar" aria-label="Course progress" aria-valuenow="44" aria-valuemin="0" aria-valuemax="100" style="--ui-progress-height:.5rem">
<div class="progress-bar" style="width:44%">
</div>
</div>
<small class="text-muted">44% complete</small>
</div>
</div>18Clickable dashboard tiles
Metric tiles that open the matching report.
<div class="row g-2">
<div class="col-md-4">
<div class="card">
<div class="card-body flex items-center gap-4">
<span class="text-2xl text-primary"><i class="bi bi-cart-fill" aria-hidden="true"></i></span>
<div>
<div class="text-lg font-bold">
3.5k
</div>
<a href="#" class="stretched-link small link-secondary">Orders</a>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body flex items-center gap-4">
<span class="text-2xl text-primary"><i class="bi bi-people-fill" aria-hidden="true"></i></span>
<div>
<div class="text-lg font-bold">
2.5k
</div>
<a href="#" class="stretched-link small link-secondary">Visitors</a>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body flex items-center gap-4">
<span class="text-2xl text-primary"><i class="bi bi-chat-square-text-fill" aria-hidden="true"></i></span>
<div>
<div class="text-lg font-bold">
8.0k
</div>
<a href="#" class="stretched-link small link-secondary">Tickets</a>
</div>
</div>
</div>
</div>
</div>19Job listings
Job rows with the title as the stretched link and the details as plain text.
<div class="list-group">
<div class="list-group-item py-4">
<div class="flex flex-wrap justify-between gap-2">
<a href="#" class="stretched-link font-semibold no-underline">Content Writer</a><span class="badge text-bg-light border">Part time</span>
</div>
<small class="text-muted">Operations · Copenhagen</small>
</div>
<div class="list-group-item py-4">
<div class="flex flex-wrap justify-between gap-2">
<a href="#" class="stretched-link font-semibold no-underline">Support Specialist</a><span class="badge text-bg-light border">Part time</span>
</div>
<small class="text-muted">Design · Montreal</small>
</div>
<div class="list-group-item py-4">
<div class="flex flex-wrap justify-between gap-2">
<a href="#" class="stretched-link font-semibold no-underline">Art Director</a><span class="badge text-bg-light border">Part time</span>
</div>
<small class="text-muted">Design · Melbourne</small>
</div>
</div>20Extra link above the stretched link
Give a second link position-relative and z-2 so it sits above the stretched area and stays clickable on its own.
<div class="card hp-hit" style="max-width:22rem">
<div class="card-body">
<h3 class="h6"><a href="#" class="stretched-link link-body-emphasis no-underline">What's new in branding</a></h3>
<p class="small">This smart workflow gives every detail in view at a fair price.</p>
<a href="#" class="badge text-bg-primary no-underline relative z-2">#news</a>
</div>
</div>