Position helpers pin an element to the top or bottom (fixed-top, fixed-bottom) or keep it in view while its container scrolls (sticky-top, sticky-bottom and the responsive sticky-*-top variants). Every example runs inside its own scrollable frame, so scroll the frames to watch the bars stay put.
1Sticky page header
sticky-top keeps a section header visible while the content below it scrolls. Scroll the frame.
Clean water wells are built with and maintained by local communities.
Thousands of donors already trust us, and we work hard to keep it that way.
Friendly people answer your questions quickly, by phone, chat or email.
Start in minutes and get help from a real person whenever you need it.
Companies can match employee donations and double their impact.
Local partners know their communities and make sure help arrives where it matters.
Monthly gifts let us plan ahead and respond quickly when disaster strikes.
Clear prices, honest advice and no surprises along the way.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Sticky header demo">
<header class="sticky-top bg-body border-bottom px-3 py-2 fw-semibold">
<i class="bi bi-journal-text" aria-hidden="true"></i> What happens after a disaster appeal
</header>
<div class="p-3">
<p class="small mb-3">Clean water wells are built with and maintained by local communities.</p>
<p class="small mb-3">Thousands of donors already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-3">Companies can match employee donations and double their impact.</p>
<p class="small mb-3">Local partners know their communities and make sure help arrives where it matters.</p>
<p class="small mb-3">Monthly gifts let us plan ahead and respond quickly when disaster strikes.</p>
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
</div>
</div>
</div>2Sticky save bar
sticky-bottom keeps form actions at the bottom edge of the scrolling area.
We keep things simple, so you can focus on what matters to you.
Our annual report is independently audited and published in full.
A school kit costs less than a cinema ticket and lasts a whole year.
We have helped more than two hundred thousand people since we started.
Our team has done this many times, so you never have to guess.
Leave a gift in your will and help future generations.
Volunteers give their time in schools, shelters and food banks every week.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Sticky save bar demo">
<div class="p-3">
<p class="small mb-3">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-3">Our annual report is independently audited and published in full.</p>
<p class="small mb-3">A school kit costs less than a cinema ticket and lasts a whole year.</p>
<p class="small mb-3">We have helped more than two hundred thousand people since we started.</p>
<p class="small mb-3">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-3">Leave a gift in your will and help future generations.</p>
<p class="small mb-3">Volunteers give their time in schools, shelters and food banks every week.</p>
</div>
<div class="sticky-bottom bg-body-tertiary border-top p-2 d-flex justify-content-end gap-2">
<button type="button" class="btn btn-sm btn-light">Discard</button>
<button type="button" class="btn btn-sm btn-primary">Save changes</button>
</div>
</div>
</div>3Sticky table header
Put sticky-top on the thead so the column names stay visible in a long table.
| Name | Role | City |
|---|---|---|
| Priya Patel | QA Engineer | Kyoto |
| Mason Rossi | Content Writer | Dublin |
| Chloe Ibrahim | Marketing Lead | Auckland |
| Aria Duarte | Backend Engineer | Singapore |
| Ivy Carter | Content Writer | Vancouver |
| Amara Lindqvist | QA Engineer | Seoul |
| Noah Varga | Operations Manager | Barcelona |
| Nora Moreau | Product Designer | Dublin |
| Ravi Hughes | Product Designer | Edinburgh |
| Lucas Brennan | Finance Lead | Barcelona |
| Arjun Mensah | QA Engineer | Austin |
| Nadia Alvarez | Customer Success | Melbourne |
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Team table">
<table class="table table-sm table-striped mb-0">
<thead class="sticky-top">
<tr>
<th scope="col">Name</th>
<th scope="col">Role</th>
<th scope="col">City</th>
</tr>
</thead>
<tbody>
<tr>
<td>Priya Patel</td>
<td>QA Engineer</td>
<td>Kyoto</td>
</tr>
<tr>
<td>Mason Rossi</td>
<td>Content Writer</td>
<td>Dublin</td>
</tr>
<tr>
<td>Chloe Ibrahim</td>
<td>Marketing Lead</td>
<td>Auckland</td>
</tr>
<tr>
<td>Aria Duarte</td>
<td>Backend Engineer</td>
<td>Singapore</td>
</tr>
<tr>
<td>Ivy Carter</td>
<td>Content Writer</td>
<td>Vancouver</td>
</tr>
<tr>
<td>Amara Lindqvist</td>
<td>QA Engineer</td>
<td>Seoul</td>
</tr>
<tr>
<td>Noah Varga</td>
<td>Operations Manager</td>
<td>Barcelona</td>
</tr>
<tr>
<td>Nora Moreau</td>
<td>Product Designer</td>
<td>Dublin</td>
</tr>
<tr>
<td>Ravi Hughes</td>
<td>Product Designer</td>
<td>Edinburgh</td>
</tr>
<tr>
<td>Lucas Brennan</td>
<td>Finance Lead</td>
<td>Barcelona</td>
</tr>
<tr>
<td>Arjun Mensah</td>
<td>QA Engineer</td>
<td>Austin</td>
</tr>
<tr>
<td>Nadia Alvarez</td>
<td>Customer Success</td>
<td>Melbourne</td>
</tr>
</tbody>
</table>
</div>
</div>4Alphabet section headings
Each letter heading is sticky inside its own section, so the next letter pushes the previous one away.
A
- Alvarez, Priya
B
- Brennan, Hana
D
- Delgado, Diego
- Delgado, Owen
- Duarte, Finn
F
- Fischer, Aria
- Fischer, Luna
H
- Haddad, Elena
- Harlow, Ivy
K
- Kim, Felix
- Kim, Lea
- Kowalski, Leo
L
- Larsen, Mia
M
- Morgan, Sofia
N
- Nguyen, Isla
- Novak, Liam
O
- Okafor, Samir
- Ortega, Maya
- Ortega, Theo
Q
- Quinn, Mateo
S
- Sato, Mason
- Silva, Ruby
V
- Varga, Ethan
W
- Whitaker, Chloe
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Contacts">
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">A</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Alvarez, Priya</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">B</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Brennan, Hana</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">D</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Delgado, Diego</li>
<li class="py-1">Delgado, Owen</li>
<li class="py-1">Duarte, Finn</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">F</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Fischer, Aria</li>
<li class="py-1">Fischer, Luna</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">H</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Haddad, Elena</li>
<li class="py-1">Harlow, Ivy</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">K</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Kim, Felix</li>
<li class="py-1">Kim, Lea</li>
<li class="py-1">Kowalski, Leo</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">L</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Larsen, Mia</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">M</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Morgan, Sofia</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">N</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Nguyen, Isla</li>
<li class="py-1">Novak, Liam</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">O</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Okafor, Samir</li>
<li class="py-1">Ortega, Maya</li>
<li class="py-1">Ortega, Theo</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">Q</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Quinn, Mateo</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">S</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Sato, Mason</li>
<li class="py-1">Silva, Ruby</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">V</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Varga, Ethan</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">W</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Whitaker, Chloe</li>
</ul>
</section>
</div>
</div>5Sticky sidebar
A column with a sticky-top block stays in view next to a long content column.
You receive photos and updates showing exactly what your donation achieved.
Our annual report is independently audited and published in full.
Ninety cents of every dollar goes directly to the projects you support.
We listen first, then build a plan around what you actually need.
Companies can match employee donations and double their impact.
Clear prices, honest advice and no surprises along the way.
Start in minutes and get help from a real person whenever you need it.
Volunteers give their time in schools, shelters and food banks every week.
Friendly people answer your questions quickly, by phone, chat or email.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Article with sidebar">
<div class="row g-0">
<div class="col-4 border-end">
<nav class="sticky-top p-2 small" aria-label="On this page">
<div class="fw-semibold mb-1">
On this page
</div>
<a class="d-block" href="#">Overview</a><a class="d-block" href="#">Setup</a><a class="d-block" href="#">FAQ</a>
</nav>
</div>
<div class="col-8 p-3">
<p class="small mb-3">You receive photos and updates showing exactly what your donation achieved.</p>
<p class="small mb-3">Our annual report is independently audited and published in full.</p>
<p class="small mb-3">Ninety cents of every dollar goes directly to the projects you support.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Companies can match employee donations and double their impact.</p>
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-3">Volunteers give their time in schools, shelters and food banks every week.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
</div>
</div>
</div>
</div>6Responsive sticky (md and up)
sticky-md-top only sticks from the md breakpoint; on phones the bar scrolls away with the page.
We keep things simple, so you can focus on what matters to you.
We have helped more than two hundred thousand people since we started.
Leave a gift in your will and help future generations.
We measure success by how many donors come back and tell their friends.
Our team has done this many times, so you never have to guess.
Clean water wells are built with and maintained by local communities.
Local partners know their communities and make sure help arrives where it matters.
A school kit costs less than a cinema ticket and lasts a whole year.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Responsive sticky demo">
<div class="sticky-md-top text-bg-primary px-3 py-2 small">
<i class="bi bi-phone-fill" aria-hidden="true"></i> Sticky from md, normal flow on small screens
</div>
<div class="p-3">
<p class="small mb-3">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-3">We have helped more than two hundred thousand people since we started.</p>
<p class="small mb-3">Leave a gift in your will and help future generations.</p>
<p class="small mb-3">We measure success by how many donors come back and tell their friends.</p>
<p class="small mb-3">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-3">Clean water wells are built with and maintained by local communities.</p>
<p class="small mb-3">Local partners know their communities and make sure help arrives where it matters.</p>
<p class="small mb-3">A school kit costs less than a cinema ticket and lasts a whole year.</p>
</div>
</div>
</div>7Fixed-top navbar
fixed-top pins a navbar to the top edge; the frame acts as the viewport, so the bar stays inside the example.
Every donation is tax-deductible, and receipts arrive by email instantly.
Thousands of donors already trust us, and we work hard to keep it that way.
You receive photos and updates showing exactly what your donation achieved.
Monthly gifts let us plan ahead and respond quickly when disaster strikes.
Every detail is handled by people who care about getting it right.
Monthly gifts let us plan ahead and respond quickly when disaster strikes.
Thousands of donors already trust us, and we work hard to keep it that way.
Start in minutes and get help from a real person whenever you need it.
<div class="hp-pos">
<nav class="navbar fixed-top bg-body border-bottom px-3 py-2" aria-label="Demo">
<span class="navbar-brand mb-0 h6"><i class="bi bi-lightning-charge-fill" aria-hidden="true"></i> Pixel Deck</span>
<button type="button" class="btn btn-sm btn-outline-primary">Sign up</button>
</nav>
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Fixed navbar demo">
<div class="px-3 pb-3" style="padding-top:4rem">
<p class="small mb-3">Every donation is tax-deductible, and receipts arrive by email instantly.</p>
<p class="small mb-3">Thousands of donors already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">You receive photos and updates showing exactly what your donation achieved.</p>
<p class="small mb-3">Monthly gifts let us plan ahead and respond quickly when disaster strikes.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-3">Monthly gifts let us plan ahead and respond quickly when disaster strikes.</p>
<p class="small mb-3">Thousands of donors already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">Start in minutes and get help from a real person whenever you need it.</p>
</div>
</div>
</div>8Fixed-bottom tab bar
A mobile style tab bar with fixed-bottom; content gets bottom padding so nothing hides behind it.
You receive photos and updates showing exactly what your donation achieved.
We have helped more than two hundred thousand people since we started.
Volunteers give their time in schools, shelters and food banks every week.
Companies can match employee donations and double their impact.
We measure success by how many donors come back and tell their friends.
Our team has done this many times, so you never have to guess.
Ninety cents of every dollar goes directly to the projects you support.
Every detail is handled by people who care about getting it right.
<div class="hp-pos">
<nav class="fixed-bottom d-flex bg-body border-top" aria-label="App">
<a href="#" class="flex-fill text-center small py-2 text-decoration-none text-primary" aria-current="page"><i class="bi bi-house-fill" aria-hidden="true"></i><span class="d-block">Home</span></a><a href="#" class="flex-fill text-center small py-2 text-decoration-none text-body-secondary"><i class="bi bi-search" aria-hidden="true"></i><span class="d-block">Search</span></a><a href="#" class="flex-fill text-center small py-2 text-decoration-none text-body-secondary"><i class="bi bi-heart-fill" aria-hidden="true"></i><span class="d-block">Saved</span></a><a href="#" class="flex-fill text-center small py-2 text-decoration-none text-body-secondary"><i class="bi bi-person-fill" aria-hidden="true"></i><span class="d-block">Profile</span></a>
</nav>
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Mobile tab bar demo">
<div class="px-3 pt-3" style="padding-bottom:4.5rem">
<p class="small mb-3">You receive photos and updates showing exactly what your donation achieved.</p>
<p class="small mb-3">We have helped more than two hundred thousand people since we started.</p>
<p class="small mb-3">Volunteers give their time in schools, shelters and food banks every week.</p>
<p class="small mb-3">Companies can match employee donations and double their impact.</p>
<p class="small mb-3">We measure success by how many donors come back and tell their friends.</p>
<p class="small mb-3">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-3">Ninety cents of every dollar goes directly to the projects you support.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</p>
</div>
</div>
</div>9App shell: fixed top and bottom
A fixed-top title bar plus a fixed-bottom status line around a scrolling list.
- Omar NovakInside the shelter: from rescue to new home
- Freya AshfordWhy monthly giving makes such a difference
- Tariq TanakaMeet the partners behind our water projects
- Ella RossiHow to choose the right campaign
- Kai HaddadStories from the families we support
- Ava PatelOur yearly impact report, explained
- Kenji WhitakerWhy we plant trees with the schools we build
- Jonah IbrahimOur favourite tips for busy weeks
- Zoe QuinnThe small habits that make a big difference
<div class="hp-pos">
<div class="fixed-top text-bg-dark px-3 py-2 small fw-semibold">
<i class="bi bi-inbox-fill" aria-hidden="true"></i> Inbox
</div>
<div class="fixed-bottom bg-body-tertiary border-top px-3 py-1 small text-body-secondary">
Synced yesterday
</div>
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="App shell demo">
<ul class="list-group list-group-flush" style="padding-top:2.5rem;padding-bottom:2rem">
<li class="list-group-item small"><strong class="d-block">Omar Novak</strong>Inside the shelter: from rescue to new home</li>
<li class="list-group-item small"><strong class="d-block">Freya Ashford</strong>Why monthly giving makes such a difference</li>
<li class="list-group-item small"><strong class="d-block">Tariq Tanaka</strong>Meet the partners behind our water projects</li>
<li class="list-group-item small"><strong class="d-block">Ella Rossi</strong>How to choose the right campaign</li>
<li class="list-group-item small"><strong class="d-block">Kai Haddad</strong>Stories from the families we support</li>
<li class="list-group-item small"><strong class="d-block">Ava Patel</strong>Our yearly impact report, explained</li>
<li class="list-group-item small"><strong class="d-block">Kenji Whitaker</strong>Why we plant trees with the schools we build</li>
<li class="list-group-item small"><strong class="d-block">Jonah Ibrahim</strong>Our favourite tips for busy weeks</li>
<li class="list-group-item small"><strong class="d-block">Zoe Quinn</strong>The small habits that make a big difference</li>
</ul>
</div>
</div>10Sticky chat composer
The message input uses sticky-bottom so it is always at hand below the conversation.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Chat demo">
<div class="p-3">
<div class="d-flex mb-2">
<div class="px-3 py-2 rounded-3 small bg-body-tertiary" style="max-width:75%">
We keep things simple, so you can focus on what matters to you.
</div>
</div>
<div class="d-flex justify-content-end mb-2">
<div class="px-3 py-2 rounded-3 small text-bg-primary" style="max-width:75%">
Friendly people answer your questions quickly, by phone, chat or email.
</div>
</div>
<div class="d-flex mb-2">
<div class="px-3 py-2 rounded-3 small bg-body-tertiary" style="max-width:75%">
A school kit costs less than a cinema ticket and lasts a whole year.
</div>
</div>
<div class="d-flex justify-content-end mb-2">
<div class="px-3 py-2 rounded-3 small text-bg-primary" style="max-width:75%">
Every donation is tax-deductible, and receipts arrive by email instantly.
</div>
</div>
<div class="d-flex mb-2">
<div class="px-3 py-2 rounded-3 small bg-body-tertiary" style="max-width:75%">
Our annual report is independently audited and published in full.
</div>
</div>
<div class="d-flex justify-content-end mb-2">
<div class="px-3 py-2 rounded-3 small text-bg-primary" style="max-width:75%">
Clean water wells are built with and maintained by local communities.
</div>
</div>
</div>
<form class="sticky-bottom bg-body border-top p-2 d-flex gap-2">
<label class="visually-hidden" for="hp-msg-1234">Message</label>
<input class="form-control form-control-sm" id="hp-msg-1234" type="text" placeholder="Write a message">
<button type="submit" class="btn btn-sm btn-primary" aria-label="Send"><i class="bi bi-send-fill" aria-hidden="true"></i></button>
</form>
</div>
</div>11Sticky cart total
The order total sticks to the bottom of a long basket list.
- Shelter support$42.00
- Tree planting$10.00
- Clean water well$520.00
- Emergency fund$50.00
- Library books$42.00
- Vet care$57.00
- Teacher training$112.99
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Basket">
<ul class="list-group list-group-flush">
<li class="list-group-item d-flex justify-content-between small"><span>Shelter support</span><span>$42.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Tree planting</span><span>$10.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Clean water well</span><span>$520.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Emergency fund</span><span>$50.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Library books</span><span>$42.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Vet care</span><span>$57.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Teacher training</span><span>$112.99</span></li>
</ul>
<div class="sticky-bottom text-bg-light border-top d-flex justify-content-between align-items-center px-3 py-2">
<strong>Total $833.99</strong>
<button type="button" class="btn btn-sm btn-success">Checkout</button>
</div>
</div>
</div>12Sticky filters on large screens
sticky-lg-top keeps the filter row in view on wide screens only.
Clear prices, honest advice and no surprises along the way.
Leave a gift in your will and help future generations.
Local partners know their communities and make sure help arrives where it matters.
We listen first, then build a plan around what you actually need.
Volunteers give their time in schools, shelters and food banks every week.
Start in minutes and get help from a real person whenever you need it.
Our annual report is independently audited and published in full.
Thousands of donors already trust us, and we work hard to keep it that way.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Product filters">
<div class="sticky-lg-top bg-body border-bottom p-2 d-flex gap-2 align-items-center">
<label class="small text-nowrap" for="hp-sort-1235">Sort by</label>
<select class="form-select form-select-sm" id="hp-sort-1235">
<option>Newest</option>
<option>Price</option>
<option>Rating</option>
</select>
</div>
<div class="p-3">
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">Leave a gift in your will and help future generations.</p>
<p class="small mb-3">Local partners know their communities and make sure help arrives where it matters.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Volunteers give their time in schools, shelters and food banks every week.</p>
<p class="small mb-3">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-3">Our annual report is independently audited and published in full.</p>
<p class="small mb-3">Thousands of donors already trust us, and we work hard to keep it that way.</p>
</div>
</div>
</div>13Sticky editor toolbar
Formatting buttons stay at the top of a long document while you edit.
Stand with families in need
Clean water wells are built with and maintained by local communities.
Every detail is handled by people who care about getting it right.
Companies can match employee donations and double their impact.
Our team has done this many times, so you never have to guess.
Friendly people answer your questions quickly, by phone, chat or email.
Ninety cents of every dollar goes directly to the projects you support.
We measure success by how many donors come back and tell their friends.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Editor demo">
<div class="sticky-top bg-body-tertiary border-bottom p-1 d-flex gap-1" role="toolbar" aria-label="Formatting">
<button type="button" class="btn btn-sm btn-light" aria-label="Bold"><i class="bi bi-type-bold" aria-hidden="true"></i></button>
<button type="button" class="btn btn-sm btn-light" aria-label="Italic"><i class="bi bi-type-italic" aria-hidden="true"></i></button>
<button type="button" class="btn btn-sm btn-light" aria-label="Bulleted list"><i class="bi bi-list-ul" aria-hidden="true"></i></button>
<button type="button" class="btn btn-sm btn-light" aria-label="Insert link"><i class="bi bi-link-45deg" aria-hidden="true"></i></button>
<button type="button" class="btn btn-sm btn-light" aria-label="Insert image"><i class="bi bi-image-fill" aria-hidden="true"></i></button>
</div>
<div class="p-3">
<h3 class="h5">Stand with families in need</h3>
<p class="small mb-3">Clean water wells are built with and maintained by local communities.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-3">Companies can match employee donations and double their impact.</p>
<p class="small mb-3">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Ninety cents of every dollar goes directly to the projects you support.</p>
<p class="small mb-3">We measure success by how many donors come back and tell their friends.</p>
</div>
</div>
</div>14Sticky day dividers
Date pills in a message thread stick at the top until the next day arrives.
Leave a gift in your will and help future generations.
You receive photos and updates showing exactly what your donation achieved.
Monthly gifts let us plan ahead and respond quickly when disaster strikes.
We listen first, then build a plan around what you actually need.
Clear prices, honest advice and no surprises along the way.
Every donation is tax-deductible, and receipts arrive by email instantly.
Local partners know their communities and make sure help arrives where it matters.
We have helped more than two hundred thousand people since we started.
We keep things simple, so you can focus on what matters to you.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Message thread">
<div class="sticky-top text-center py-1">
<span class="badge rounded-pill text-bg-secondary">Monday</span>
</div>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Leave a gift in your will and help future generations.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">You receive photos and updates showing exactly what your donation achieved.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Monthly gifts let us plan ahead and respond quickly when disaster strikes.</p>
<div class="sticky-top text-center py-1">
<span class="badge rounded-pill text-bg-secondary">Yesterday</span>
</div>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">We listen first, then build a plan around what you actually need.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Every donation is tax-deductible, and receipts arrive by email instantly.</p>
<div class="sticky-top text-center py-1">
<span class="badge rounded-pill text-bg-secondary">Today</span>
</div>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Local partners know their communities and make sure help arrives where it matters.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">We have helped more than two hundred thousand people since we started.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">We keep things simple, so you can focus on what matters to you.</p>
</div>
</div>15Fixed-bottom update notice
A dismissible style notice pinned with fixed-bottom over scrolling content.
A school kit costs less than a cinema ticket and lasts a whole year.
We keep things simple, so you can focus on what matters to you.
Friendly people answer your questions quickly, by phone, chat or email.
Every detail is handled by people who care about getting it right.
Start in minutes and get help from a real person whenever you need it.
Companies can match employee donations and double their impact.
Ninety cents of every dollar goes directly to the projects you support.
Leave a gift in your will and help future generations.
<div class="hp-pos">
<div class="fixed-bottom m-2 alert alert-info d-flex align-items-center gap-2 mb-2 py-2 small" role="status">
<i class="bi bi-arrow-repeat" aria-hidden="true"></i><span class="me-auto">A new version is ready.</span>
<button type="button" class="btn btn-sm btn-info">Reload</button>
</div>
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Update notice demo">
<div class="px-3 pt-3" style="padding-bottom:5rem">
<p class="small mb-3">A school kit costs less than a cinema ticket and lasts a whole year.</p>
<p class="small mb-3">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-3">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-3">Companies can match employee donations and double their impact.</p>
<p class="small mb-3">Ninety cents of every dollar goes directly to the projects you support.</p>
<p class="small mb-3">Leave a gift in your will and help future generations.</p>
</div>
</div>
</div>16Sticky category chips
A horizontal row of chips with sticky-top above a feed of cards.
How your donations built three new classrooms
Local partners know their communities and make sure help arrives where it matters.
What our donors asked us most
Every donation is tax-deductible, and receipts arrive by email instantly.
Ten ways to fundraise with friends
Volunteers give their time in schools, shelters and food banks every week.
Meet the partners behind our water projects
You receive photos and updates showing exactly what your donation achieved.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Category feed">
<div class="sticky-top bg-body p-2 d-flex flex-wrap gap-1 border-bottom">
<span class="badge rounded-pill text-bg-light border">Environment</span><span class="badge rounded-pill text-bg-light border">Relief</span><span class="badge rounded-pill text-bg-light border">Education</span><span class="badge rounded-pill text-bg-light border">Animals</span><span class="badge rounded-pill text-bg-light border">Health</span>
</div>
<div class="p-2 vstack gap-2">
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">How your donations built three new classrooms</h3>
<p class="small mb-0">Local partners know their communities and make sure help arrives where it matters.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">What our donors asked us most</h3>
<p class="small mb-0">Every donation is tax-deductible, and receipts arrive by email instantly.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">Ten ways to fundraise with friends</h3>
<p class="small mb-0">Volunteers give their time in schools, shelters and food banks every week.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">Meet the partners behind our water projects</h3>
<p class="small mb-0">You receive photos and updates showing exactly what your donation achieved.</p>
</div>
</div>
</div>
</div>
</div>17Table of contents on extra-large screens
sticky-xl-top only sticks at 1200 px and wider, a common choice for docs layouts.
Our team has done this many times, so you never have to guess.
We listen first, then build a plan around what you actually need.
Monthly gifts let us plan ahead and respond quickly when disaster strikes.
We have helped more than two hundred thousand people since we started.
A school kit costs less than a cinema ticket and lasts a whole year.
Thousands of donors already trust us, and we work hard to keep it that way.
Clear prices, honest advice and no surprises along the way.
We measure success by how many donors come back and tell their friends.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Docs layout">
<div class="sticky-xl-top bg-body-tertiary border-bottom px-3 py-2 small">
<i class="bi bi-list-nested" aria-hidden="true"></i> Contents: Introduction · Install · Usage
</div>
<div class="p-3">
<p class="small mb-3">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Monthly gifts let us plan ahead and respond quickly when disaster strikes.</p>
<p class="small mb-3">We have helped more than two hundred thousand people since we started.</p>
<p class="small mb-3">A school kit costs less than a cinema ticket and lasts a whole year.</p>
<p class="small mb-3">Thousands of donors already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">We measure success by how many donors come back and tell their friends.</p>
</div>
</div>
</div>18Checkout button on phones
sticky-sm-bottom sticks the call to action at the bottom from the sm breakpoint up.
Clean water wells are built with and maintained by local communities.
Our annual report is independently audited and published in full.
Leave a gift in your will and help future generations.
Clean water wells are built with and maintained by local communities.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Product details">
<div class="p-3">
<img src="../assets/img/product-5.svg" alt="Shelter support" class="img-fluid rounded mb-3">
<p class="small mb-3">Clean water wells are built with and maintained by local communities.</p>
<p class="small mb-3">Our annual report is independently audited and published in full.</p>
<p class="small mb-3">Leave a gift in your will and help future generations.</p>
<p class="small mb-3">Clean water wells are built with and maintained by local communities.</p>
</div>
<div class="sticky-sm-bottom bg-body border-top p-2">
<button type="button" class="btn btn-primary w-100"><i class="bi bi-bag-plus-fill" aria-hidden="true"></i> Add to bag · $183.55</button>
</div>
</div>
</div>19Reading progress header
A sticky header with a thin progress bar showing how far the reader has come.
Start in minutes and get help from a real person whenever you need it.
Companies can match employee donations and double their impact.
We measure success by how many donors come back and tell their friends.
Every donation is tax-deductible, and receipts arrive by email instantly.
Volunteers give their time in schools, shelters and food banks every week.
Our annual report is independently audited and published in full.
Friendly people answer your questions quickly, by phone, chat or email.
Thousands of donors already trust us, and we work hard to keep it that way.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Reading demo">
<div class="sticky-top bg-body">
<div class="px-3 py-2 small fw-semibold">
A day in the life of a volunteer
</div>
<div class="progress rounded-0" role="progressbar" aria-label="Reading progress" aria-valuenow="63" aria-valuemin="0" aria-valuemax="100" style="--ui-progress-height:.25rem">
<div class="progress-bar" style="width:63%">
</div>
</div>
</div>
<div class="p-3">
<p class="small mb-3">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-3">Companies can match employee donations and double their impact.</p>
<p class="small mb-3">We measure success by how many donors come back and tell their friends.</p>
<p class="small mb-3">Every donation is tax-deductible, and receipts arrive by email instantly.</p>
<p class="small mb-3">Volunteers give their time in schools, shelters and food banks every week.</p>
<p class="small mb-3">Our annual report is independently audited and published in full.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Thousands of donors already trust us, and we work hard to keep it that way.</p>
</div>
</div>
</div>20Sticky table footer
A tfoot with sticky-bottom keeps the running total visible in a timesheet.
| Date | Task | Hours |
|---|---|---|
| May 2, 2026 | Disaster response | 3 h |
| Sep 28, 2026 | Disaster response | 5 h |
| Aug 21, 2026 | Education fund | 7 h |
| Mar 29, 2026 | Education fund | 3 h |
| Jul 24, 2026 | Animal rescue | 2 h |
| Jan 19, 2026 | Education fund | 5 h |
| Feb 10, 2026 | Animal rescue | 8 h |
| Feb 21, 2026 | Animal rescue | 1 h |
| Nov 29, 2025 | Volunteer programs | 1 h |
| Apr 28, 2026 | Food relief | 3 h |
| Total | 38 h | |
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Timesheet">
<table class="table table-sm mb-0">
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Task</th>
<th scope="col" class="text-end">Hours</th>
</tr>
</thead>
<tbody>
<tr>
<td>May 2, 2026</td>
<td>Disaster response</td>
<td class="text-end">3 h</td>
</tr>
<tr>
<td>Sep 28, 2026</td>
<td>Disaster response</td>
<td class="text-end">5 h</td>
</tr>
<tr>
<td>Aug 21, 2026</td>
<td>Education fund</td>
<td class="text-end">7 h</td>
</tr>
<tr>
<td>Mar 29, 2026</td>
<td>Education fund</td>
<td class="text-end">3 h</td>
</tr>
<tr>
<td>Jul 24, 2026</td>
<td>Animal rescue</td>
<td class="text-end">2 h</td>
</tr>
<tr>
<td>Jan 19, 2026</td>
<td>Education fund</td>
<td class="text-end">5 h</td>
</tr>
<tr>
<td>Feb 10, 2026</td>
<td>Animal rescue</td>
<td class="text-end">8 h</td>
</tr>
<tr>
<td>Feb 21, 2026</td>
<td>Animal rescue</td>
<td class="text-end">1 h</td>
</tr>
<tr>
<td>Nov 29, 2025</td>
<td>Volunteer programs</td>
<td class="text-end">1 h</td>
</tr>
<tr>
<td>Apr 28, 2026</td>
<td>Food relief</td>
<td class="text-end">3 h</td>
</tr>
</tbody>
<tfoot class="sticky-bottom">
<tr class="table-light fw-semibold">
<td colspan="2">Total</td>
<td class="text-end">38 h</td>
</tr>
</tfoot>
</table>
</div>
</div>