Position
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.
More than sixty classes a week, from sunrise yoga to late-night spin.
Small group classes mean your coach knows your name and your form.
Open 24 hours, so you can train whenever it suits your day.
Community events keep you motivated, from fun runs to workshops.
Start in minutes and get help from a real person whenever you need it.
We keep things simple, so you can focus on what matters to you.
Online coaching keeps you on track when you travel.
Beginners are always welcome, with an intro session included.
<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 to eat before a morning workout
</header>
<div class="p-3">
<p class="small mb-3">More than sixty classes a week, from sunrise yoga to late-night spin.</p>
<p class="small mb-3">Small group classes mean your coach knows your name and your form.</p>
<p class="small mb-3">Open 24 hours, so you can train whenever it suits your day.</p>
<p class="small mb-3">Community events keep you motivated, from fun runs to workshops.</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">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-3">Online coaching keeps you on track when you travel.</p>
<p class="small mb-3">Beginners are always welcome, with an intro session included.</p>
</div>
</div>
</div>2Sticky save bar
sticky-bottom keeps form actions at the bottom edge of the scrolling area.
Certified coaches design every session around your level and your goals.
Friendly people answer your questions quickly, by phone, chat or email.
Modern equipment is cleaned, serviced and ready every day.
Our recovery spa has a sauna, cold plunge and massage rooms.
Clear prices, honest advice and no surprises along the way.
Track your progress in the app and see how far you have come.
We listen first, then build a plan around what you actually need.
<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">Certified coaches design every session around your level and your goals.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Modern equipment is cleaned, serviced and ready every day.</p>
<p class="small mb-3">Our recovery spa has a sauna, cold plunge and massage rooms.</p>
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">Track your progress in the app and see how far you have come.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</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 |
|---|---|---|
| Elena Carter | Sales Executive | Valencia |
| Liam Duarte | Customer Success | Montreal |
| Kai Patel | Product Designer | Kyoto |
| Diego Delgado | Operations Manager | Porto |
| Jonah Haddad | Finance Lead | Montreal |
| Samir Larsen | Customer Success | Kyoto |
| Theo Silva | Project Manager | Melbourne |
| Zoe Tanaka | HR Partner | Montreal |
| Mia Okafor | Support Specialist | Lisbon |
| Mateo Harlow | Product Designer | Kyoto |
| Diego Rossi | Operations Manager | Copenhagen |
| Felix Fischer | Project Manager | 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>Elena Carter</td>
<td>Sales Executive</td>
<td>Valencia</td>
</tr>
<tr>
<td>Liam Duarte</td>
<td>Customer Success</td>
<td>Montreal</td>
</tr>
<tr>
<td>Kai Patel</td>
<td>Product Designer</td>
<td>Kyoto</td>
</tr>
<tr>
<td>Diego Delgado</td>
<td>Operations Manager</td>
<td>Porto</td>
</tr>
<tr>
<td>Jonah Haddad</td>
<td>Finance Lead</td>
<td>Montreal</td>
</tr>
<tr>
<td>Samir Larsen</td>
<td>Customer Success</td>
<td>Kyoto</td>
</tr>
<tr>
<td>Theo Silva</td>
<td>Project Manager</td>
<td>Melbourne</td>
</tr>
<tr>
<td>Zoe Tanaka</td>
<td>HR Partner</td>
<td>Montreal</td>
</tr>
<tr>
<td>Mia Okafor</td>
<td>Support Specialist</td>
<td>Lisbon</td>
</tr>
<tr>
<td>Mateo Harlow</td>
<td>Product Designer</td>
<td>Kyoto</td>
</tr>
<tr>
<td>Diego Rossi</td>
<td>Operations Manager</td>
<td>Copenhagen</td>
</tr>
<tr>
<td>Felix Fischer</td>
<td>Project Manager</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, Isla
- Ashford, Owen
- Ashford, Ravi
H
- Haddad, Priya
I
- Ibrahim, Jonah
- Ibrahim, Sofia
K
- Kim, Ella
- Kim, Mason
- Kowalski, Freya
- Kowalski, Ruby
L
- Larsen, Nadia
M
- Moreau, Liam
- Morgan, Leo
- Morgan, Nora
N
- Nguyen, Maya
- Novak, Ava
O
- Ortega, Arjun
P
- Patel, Ethan
Q
- Quinn, Noah
R
- Rossi, Kai
S
- Sato, Amara
V
- Varga, Hana
- Varga, Tariq
W
- Whitaker, Kenji
<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, Isla</li>
<li class="py-1">Ashford, Owen</li>
<li class="py-1">Ashford, Ravi</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, Priya</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">I</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Ibrahim, Jonah</li>
<li class="py-1">Ibrahim, Sofia</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, Ella</li>
<li class="py-1">Kim, Mason</li>
<li class="py-1">Kowalski, Freya</li>
<li class="py-1">Kowalski, Ruby</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, Nadia</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">Moreau, Liam</li>
<li class="py-1">Morgan, Leo</li>
<li class="py-1">Morgan, Nora</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, Maya</li>
<li class="py-1">Novak, Ava</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">Ortega, Arjun</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">P</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Patel, Ethan</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, Noah</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">R</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Rossi, Kai</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, Amara</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, Hana</li>
<li class="py-1">Varga, Tariq</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, Kenji</li>
</ul>
</section>
</div>
</div>5Sticky sidebar
A column with a sticky-top block stays in view next to a long content column.
Every detail is handled by people who care about getting it right.
We measure success by how many members come back and tell their friends.
Nutrition plans fit your routine and the food you actually enjoy.
Our team has done this many times, so you never have to guess.
Pause or change your membership any time, with no long contracts.
Thousands of members already trust us, and we work hard to keep it that way.
Every detail is handled by people who care about getting it right.
We measure success by how many members come back and tell their friends.
Open 24 hours, so you can train whenever it suits your day.
<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">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-3">We measure success by how many members come back and tell their friends.</p>
<p class="small mb-3">Nutrition plans fit your routine and the food you actually enjoy.</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">Pause or change your membership any time, with no long contracts.</p>
<p class="small mb-3">Thousands of members already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-3">We measure success by how many members come back and tell their friends.</p>
<p class="small mb-3">Open 24 hours, so you can train whenever it suits your day.</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.
Clear prices, honest advice and no surprises along the way.
Our team has done this many times, so you never have to guess.
Certified coaches design every session around your level and your goals.
Our recovery spa has a sauna, cold plunge and massage rooms.
Modern equipment is cleaned, serviced and ready every day.
We listen first, then build a plan around what you actually need.
Small group classes mean your coach knows your name and your form.
Online coaching keeps you on track when you travel.
<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">Clear prices, honest advice and no surprises along the way.</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">Certified coaches design every session around your level and your goals.</p>
<p class="small mb-3">Our recovery spa has a sauna, cold plunge and massage rooms.</p>
<p class="small mb-3">Modern equipment is cleaned, serviced and ready every day.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Small group classes mean your coach knows your name and your form.</p>
<p class="small mb-3">Online coaching keeps you on track when you travel.</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.
Start in minutes and get help from a real person whenever you need it.
Beginners are always welcome, with an intro session included.
Nutrition plans fit your routine and the food you actually enjoy.
We keep things simple, so you can focus on what matters to you.
Community events keep you motivated, from fun runs to workshops.
Track your progress in the app and see how far you have come.
Friendly people answer your questions quickly, by phone, chat or email.
Pause or change your membership any time, with no long contracts.
<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> Lumenan Studio</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">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-3">Beginners are always welcome, with an intro session included.</p>
<p class="small mb-3">Nutrition plans fit your routine and the food you actually enjoy.</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">Community events keep you motivated, from fun runs to workshops.</p>
<p class="small mb-3">Track your progress in the app and see how far you have come.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Pause or change your membership any time, with no long contracts.</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.
More than sixty classes a week, from sunrise yoga to late-night spin.
Thousands of members already trust us, and we work hard to keep it that way.
Pause or change your membership any time, with no long contracts.
Friendly people answer your questions quickly, by phone, chat or email.
Online coaching keeps you on track when you travel.
Certified coaches design every session around your level and your goals.
Our team has done this many times, so you never have to guess.
Nutrition plans fit your routine and the food you actually enjoy.
<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">More than sixty classes a week, from sunrise yoga to late-night spin.</p>
<p class="small mb-3">Thousands of members already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">Pause or change your membership any time, with no long contracts.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Online coaching keeps you on track when you travel.</p>
<p class="small mb-3">Certified coaches design every session around your level and your goals.</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">Nutrition plans fit your routine and the food you actually enjoy.</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.
- Luna AlvarezBuilding a workout habit that lasts
- Aria DelgadoHIIT twice a week: how hard is hard enough?
- Elena SilvaFive stretches for desk workers
- Lucas DuarteWhy recovery matters as much as training
- Ivy MoreauHow to stay motivated through winter
- Omar HughesOur favourite tips for busy weeks
- Lea NovakA beginner's guide to getting started
- Finn CarterRunning your first 5K: an eight-week plan
- Chloe OrtegaOur most popular classes this month
<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">Luna Alvarez</strong>Building a workout habit that lasts</li>
<li class="list-group-item small"><strong class="d-block">Aria Delgado</strong>HIIT twice a week: how hard is hard enough?</li>
<li class="list-group-item small"><strong class="d-block">Elena Silva</strong>Five stretches for desk workers</li>
<li class="list-group-item small"><strong class="d-block">Lucas Duarte</strong>Why recovery matters as much as training</li>
<li class="list-group-item small"><strong class="d-block">Ivy Moreau</strong>How to stay motivated through winter</li>
<li class="list-group-item small"><strong class="d-block">Omar Hughes</strong>Our favourite tips for busy weeks</li>
<li class="list-group-item small"><strong class="d-block">Lea Novak</strong>A beginner's guide to getting started</li>
<li class="list-group-item small"><strong class="d-block">Finn Carter</strong>Running your first 5K: an eight-week plan</li>
<li class="list-group-item small"><strong class="d-block">Chloe Ortega</strong>Our most popular classes this month</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%">
Our recovery spa has a sauna, cold plunge and massage rooms.
</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%">
Beginners are always welcome, with an intro session included.
</div>
</div>
<div class="d-flex mb-2">
<div class="px-3 py-2 rounded-3 small bg-body-tertiary" style="max-width:75%">
More than sixty classes a week, from sunrise yoga to late-night spin.
</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%">
Thousands of members already trust us, and we work hard to keep it that way.
</div>
</div>
<div class="d-flex mb-2">
<div class="px-3 py-2 rounded-3 small bg-body-tertiary" style="max-width:75%">
Track your progress in the app and see how far you have come.
</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%">
Small group classes mean your coach knows your name and your form.
</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.
- Sauna session$19.00
- Personal training$66.00
- Spin class pack$104.00
- Yoga retreat$354.99
- Monthly pass$50.00
- Coaching plan$213.00
- Mobility workshop$32.00
<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>Sauna session</span><span>$19.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Personal training</span><span>$66.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Spin class pack</span><span>$104.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Yoga retreat</span><span>$354.99</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Monthly pass</span><span>$50.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Coaching plan</span><span>$213.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Mobility workshop</span><span>$32.00</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 $838.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.
Community events keep you motivated, from fun runs to workshops.
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.
We keep things simple, so you can focus on what matters to you.
Open 24 hours, so you can train whenever it suits your day.
Clear prices, honest advice and no surprises along the way.
We measure success by how many members come back and tell their friends.
Modern equipment is cleaned, serviced and ready every day.
<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">Community events keep you motivated, from fun runs to workshops.</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">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-3">Open 24 hours, so you can train whenever it suits your day.</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 members come back and tell their friends.</p>
<p class="small mb-3">Modern equipment is cleaned, serviced and ready every day.</p>
</div>
</div>
</div>13Sticky editor toolbar
Formatting buttons stay at the top of a long document while you edit.
Fitness for every body
We listen first, then build a plan around what you actually need.
Community events keep you motivated, from fun runs to workshops.
Certified coaches design every session around your level and your goals.
Pause or change your membership any time, with no long contracts.
Thousands of members already trust us, and we work hard to keep it that way.
We measure success by how many members come back and tell their friends.
More than sixty classes a week, from sunrise yoga to late-night spin.
<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">Fitness for every body</h3>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Community events keep you motivated, from fun runs to workshops.</p>
<p class="small mb-3">Certified coaches design every session around your level and your goals.</p>
<p class="small mb-3">Pause or change your membership any time, with no long contracts.</p>
<p class="small mb-3">Thousands of members already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">We measure success by how many members come back and tell their friends.</p>
<p class="small mb-3">More than sixty classes a week, from sunrise yoga to late-night spin.</p>
</div>
</div>
</div>14Sticky day dividers
Date pills in a message thread stick at the top until the next day arrives.
Our team has done this many times, so you never have to guess.
Our recovery spa has a sauna, cold plunge and massage rooms.
Track your progress in the app and see how far you have come.
Every detail is handled by people who care about getting it right.
Open 24 hours, so you can train whenever it suits your day.
Beginners are always welcome, with an intro session included.
Nutrition plans fit your routine and the food you actually enjoy.
Start in minutes and get help from a real person whenever you need it.
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">Our team has done this many times, so you never have to guess.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Our recovery spa has a sauna, cold plunge and massage rooms.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Track your progress in the app and see how far you have come.</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">Every detail is handled by people who care about getting it right.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Open 24 hours, so you can train whenever it suits your day.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Beginners are always welcome, with an intro session included.</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">Nutrition plans fit your routine and the food you actually enjoy.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Start in minutes and get help from a real person whenever you need it.</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.
Modern equipment is cleaned, serviced and ready every day.
Friendly people answer your questions quickly, by phone, chat or email.
Online coaching keeps you on track when you travel.
Clear prices, honest advice and no surprises along the way.
We listen first, then build a plan around what you actually need.
Small group classes mean your coach knows your name and your form.
More than sixty classes a week, from sunrise yoga to late-night spin.
Nutrition plans fit your routine and the food you actually enjoy.
<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">Modern equipment is cleaned, serviced and ready every day.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Online coaching keeps you on track when you travel.</p>
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Small group classes mean your coach knows your name and your form.</p>
<p class="small mb-3">More than sixty classes a week, from sunrise yoga to late-night spin.</p>
<p class="small mb-3">Nutrition plans fit your routine and the food you actually enjoy.</p>
</div>
</div>
</div>16Sticky category chips
A horizontal row of chips with sticky-top above a feed of cards.
What our members asked us most
We measure success by how many members come back and tell their friends.
Looking back at a busy season
Clear prices, honest advice and no surprises along the way.
Our most popular classes this month
We keep things simple, so you can focus on what matters to you.
How to choose the right class
Track your progress in the app and see how far you have come.
<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">Cardio</span><span class="badge rounded-pill text-bg-light border">HIIT</span><span class="badge rounded-pill text-bg-light border">Yoga</span><span class="badge rounded-pill text-bg-light border">Strength</span><span class="badge rounded-pill text-bg-light border">Recovery</span>
</div>
<div class="p-2 vstack gap-2">
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">What our members asked us most</h3>
<p class="small mb-0">We measure success by how many members come back and tell their friends.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">Looking back at a busy season</h3>
<p class="small mb-0">Clear prices, honest advice and no surprises along the way.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">Our most popular classes this month</h3>
<p class="small mb-0">We keep things simple, so you can focus on what matters to you.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">How to choose the right class</h3>
<p class="small mb-0">Track your progress in the app and see how far you have come.</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.
Pause or change your membership any time, with no long contracts.
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.
Thousands of members already trust us, and we work hard to keep it that way.
Community events keep you motivated, from fun runs to workshops.
Online coaching keeps you on track when you travel.
Modern equipment is cleaned, serviced and ready every day.
Small group classes mean your coach knows your name and your form.
<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">Pause or change your membership any time, with no long contracts.</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">Thousands of members already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">Community events keep you motivated, from fun runs to workshops.</p>
<p class="small mb-3">Online coaching keeps you on track when you travel.</p>
<p class="small mb-3">Modern equipment is cleaned, serviced and ready every day.</p>
<p class="small mb-3">Small group classes mean your coach knows your name and your form.</p>
</div>
</div>
</div>18Checkout button on phones
sticky-sm-bottom sticks the call to action at the bottom from the sm breakpoint up.
Friendly people answer your questions quickly, by phone, chat or email.
Our team has done this many times, so you never have to guess.
Beginners are always welcome, with an intro session included.
We listen first, then build a plan around what you actually need.
<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="Coaching plan" class="img-fluid rounded mb-3">
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</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">Beginners are always welcome, with an intro session included.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</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 · $151.06</button>
</div>
</div>
</div>19Reading progress header
A sticky header with a thin progress bar showing how far the reader has come.
Certified coaches design every session around your level and your goals.
Open 24 hours, so you can train whenever it suits your day.
Our recovery spa has a sauna, cold plunge and massage rooms.
Our team has done this many times, so you never have to guess.
Thousands of members already trust us, and we work hard to keep it that way.
Our recovery spa has a sauna, cold plunge and massage rooms.
We keep things simple, so you can focus on what matters to you.
Community events keep you motivated, from fun runs to workshops.
<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">
How our coaches plan a new class
</div>
<div class="progress rounded-0" role="progressbar" aria-label="Reading progress" aria-valuenow="34" aria-valuemin="0" aria-valuemax="100" style="--ui-progress-height:.25rem">
<div class="progress-bar" style="width:34%">
</div>
</div>
</div>
<div class="p-3">
<p class="small mb-3">Certified coaches design every session around your level and your goals.</p>
<p class="small mb-3">Open 24 hours, so you can train whenever it suits your day.</p>
<p class="small mb-3">Our recovery spa has a sauna, cold plunge and massage rooms.</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">Thousands of members already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">Our recovery spa has a sauna, cold plunge and massage rooms.</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">Community events keep you motivated, from fun runs to workshops.</p>
</div>
</div>
</div>20Sticky table footer
A tfoot with sticky-bottom keeps the running total visible in a timesheet.
| Date | Task | Hours |
|---|---|---|
| Dec 26, 2025 | Recovery spa | 6 h |
| Oct 9, 2025 | Online coaching | 6 h |
| Apr 7, 2026 | Nutrition plans | 7 h |
| Jul 23, 2026 | Nutrition plans | 6 h |
| Oct 21, 2025 | Recovery spa | 4 h |
| Dec 10, 2025 | Nutrition plans | 7 h |
| May 13, 2026 | Nutrition plans | 5 h |
| Nov 6, 2025 | Online coaching | 3 h |
| Apr 8, 2026 | Personal training | 3 h |
| Jul 23, 2026 | Yoga | 2 h |
| Total | 49 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>Dec 26, 2025</td>
<td>Recovery spa</td>
<td class="text-end">6 h</td>
</tr>
<tr>
<td>Oct 9, 2025</td>
<td>Online coaching</td>
<td class="text-end">6 h</td>
</tr>
<tr>
<td>Apr 7, 2026</td>
<td>Nutrition plans</td>
<td class="text-end">7 h</td>
</tr>
<tr>
<td>Jul 23, 2026</td>
<td>Nutrition plans</td>
<td class="text-end">6 h</td>
</tr>
<tr>
<td>Oct 21, 2025</td>
<td>Recovery spa</td>
<td class="text-end">4 h</td>
</tr>
<tr>
<td>Dec 10, 2025</td>
<td>Nutrition plans</td>
<td class="text-end">7 h</td>
</tr>
<tr>
<td>May 13, 2026</td>
<td>Nutrition plans</td>
<td class="text-end">5 h</td>
</tr>
<tr>
<td>Nov 6, 2025</td>
<td>Online coaching</td>
<td class="text-end">3 h</td>
</tr>
<tr>
<td>Apr 8, 2026</td>
<td>Personal training</td>
<td class="text-end">3 h</td>
</tr>
<tr>
<td>Jul 23, 2026</td>
<td>Yoga</td>
<td class="text-end">2 h</td>
</tr>
</tbody>
<tfoot class="sticky-bottom">
<tr class="table-light fw-semibold">
<td colspan="2">Total</td>
<td class="text-end">49 h</td>
</tr>
</tfoot>
</table>
</div>
</div>