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.
We keep things simple, so you can focus on what matters to you.
Children are always welcome, with a menu made just for them.
Book a table online in seconds, or call us for groups of eight or more.
Cooking classes on Saturday mornings teach you our favourite recipes.
We listen first, then build a plan around what you actually need.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
Our team has done this many times, so you never have to guess.
Our sommelier has paired each dish with wines from small family vineyards.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Sticky header demo">
<header class="sticky-top bg-page border-b px-4 py-2 font-semibold">
<i class="bi bi-journal-text" aria-hidden="true"></i> Our chef's guide to seasonal autumn produce
</header>
<div class="p-4">
<p class="small mb-4">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-4">Children are always welcome, with a menu made just for them.</p>
<p class="small mb-4">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-4">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-4">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-4">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small mb-4">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-4">Our sommelier has paired each dish with wines from small family vineyards.</p>
</div>
</div>
</div>2Sticky save bar
sticky-bottom keeps form actions at the bottom edge of the scrolling area.
Thousands of guests already trust us, and we work hard to keep it that way.
We measure success by how many guests come back and tell their friends.
Our menu changes with the seasons and the best produce from nearby farms.
Order for pickup or delivery and enjoy the same dishes at home.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Every dish is cooked to order, so tell us if you would like anything changed.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Sticky save bar demo">
<div class="p-4">
<p class="small mb-4">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small mb-4">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-4">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-4">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small mb-4">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
<p class="small mb-4">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</p>
<p class="small mb-4">Every dish is cooked to order, so tell us if you would like anything changed.</p>
</div>
<div class="sticky-bottom bg-surface-3 border-t p-2 flex justify-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 |
|---|---|---|
| Hana Haddad | Product Designer | Prague |
| Jonah Alvarez | QA Engineer | Kyoto |
| Kenji Nguyen | Data Analyst | Porto |
| Finn Hughes | Finance Lead | Lisbon |
| Mason Carter | Operations Manager | Lisbon |
| Ravi Whitaker | Marketing Lead | Melbourne |
| Isla Kowalski | Frontend Engineer | Valencia |
| Noah Brennan | HR Partner | Singapore |
| Lucas Patel | Art Director | Dublin |
| Sofia Harlow | Project Manager | Barcelona |
| Felix Ortega | Data Analyst | Austin |
| Samir Mensah | Product Designer | Copenhagen |
<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>Hana Haddad</td>
<td>Product Designer</td>
<td>Prague</td>
</tr>
<tr>
<td>Jonah Alvarez</td>
<td>QA Engineer</td>
<td>Kyoto</td>
</tr>
<tr>
<td>Kenji Nguyen</td>
<td>Data Analyst</td>
<td>Porto</td>
</tr>
<tr>
<td>Finn Hughes</td>
<td>Finance Lead</td>
<td>Lisbon</td>
</tr>
<tr>
<td>Mason Carter</td>
<td>Operations Manager</td>
<td>Lisbon</td>
</tr>
<tr>
<td>Ravi Whitaker</td>
<td>Marketing Lead</td>
<td>Melbourne</td>
</tr>
<tr>
<td>Isla Kowalski</td>
<td>Frontend Engineer</td>
<td>Valencia</td>
</tr>
<tr>
<td>Noah Brennan</td>
<td>HR Partner</td>
<td>Singapore</td>
</tr>
<tr>
<td>Lucas Patel</td>
<td>Art Director</td>
<td>Dublin</td>
</tr>
<tr>
<td>Sofia Harlow</td>
<td>Project Manager</td>
<td>Barcelona</td>
</tr>
<tr>
<td>Felix Ortega</td>
<td>Data Analyst</td>
<td>Austin</td>
</tr>
<tr>
<td>Samir Mensah</td>
<td>Product Designer</td>
<td>Copenhagen</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.
D
- Delgado, Ella
- Delgado, Liam
- Duarte, Mia
- Duarte, Zoe
F
- Fischer, Elena
H
- Haddad, Hana
- Harlow, Ava
- Hughes, Leo
I
- Ibrahim, Owen
- Ibrahim, Ruby
L
- Larsen, Mason
M
- Moreau, Jonah
- Morgan, Luna
N
- Novak, Nadia
- Novak, Theo
O
- Okafor, Ethan
P
- Patel, Arjun
Q
- Quinn, Chloe
R
- Rossi, Maya
- Rossi, Nora
S
- Silva, Amara
- Silva, Omar
T
- Tanaka, Tariq
V
- Varga, Aria
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Contacts">
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">D</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Delgado, Ella</li>
<li class="py-1">Delgado, Liam</li>
<li class="py-1">Duarte, Mia</li>
<li class="py-1">Duarte, Zoe</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">F</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Fischer, Elena</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">H</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Haddad, Hana</li>
<li class="py-1">Harlow, Ava</li>
<li class="py-1">Hughes, Leo</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">I</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Ibrahim, Owen</li>
<li class="py-1">Ibrahim, Ruby</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">L</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Larsen, Mason</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">M</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Moreau, Jonah</li>
<li class="py-1">Morgan, Luna</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">N</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Novak, Nadia</li>
<li class="py-1">Novak, Theo</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">O</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Okafor, Ethan</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">P</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Patel, Arjun</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">Q</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Quinn, Chloe</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">R</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Rossi, Maya</li>
<li class="py-1">Rossi, Nora</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">S</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Silva, Amara</li>
<li class="py-1">Silva, Omar</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">T</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Tanaka, Tariq</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-surface-2 h6 mb-0 px-4 py-1">V</h3>
<ul class="list-unstyled px-4 py-2 mb-0">
<li class="py-1">Varga, Aria</li>
</ul>
</section>
</div>
</div>5Sticky sidebar
A column with a sticky-top block stays in view next to a long content column.
We have been feeding this neighbourhood for over a decade, and we still love it.
Order for pickup or delivery and enjoy the same dishes at home.
Private dining rooms seat up to forty guests for birthdays and business dinners.
Clear prices, honest advice and no surprises along the way.
Every detail is handled by people who care about getting it right.
We measure success by how many guests come back and tell their friends.
Our menu changes with the seasons and the best produce from nearby farms.
Our sommelier has paired each dish with wines from small family vineyards.
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="Article with sidebar">
<div class="row g-0">
<div class="col-4 border-e">
<nav class="sticky-top p-2 small" aria-label="On this page">
<div class="font-semibold mb-1">
On this page
</div>
<a class="block" href="#">Overview</a><a class="block" href="#">Setup</a><a class="block" href="#">FAQ</a>
</nav>
</div>
<div class="col-8 p-4">
<p class="small mb-4">We have been feeding this neighbourhood for over a decade, and we still love it.</p>
<p class="small mb-4">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small mb-4">Private dining rooms seat up to forty guests for birthdays and business dinners.</p>
<p class="small mb-4">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-4">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-4">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-4">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-4">Our sommelier has paired each dish with wines from small family vineyards.</p>
<p class="small mb-4">We keep things simple, so you can focus on what matters to you.</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.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
Every dish is cooked to order, so tell us if you would like anything changed.
Cooking classes on Saturday mornings teach you our favourite recipes.
Children are always welcome, with a menu made just for them.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Friendly people answer your questions quickly, by phone, chat or email.
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="Responsive sticky demo">
<div class="sticky-md-top text-bg-primary px-4 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-4">
<p class="small mb-4">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small mb-4">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-4">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-4">Children are always welcome, with a menu made just for them.</p>
<p class="small mb-4">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
<p class="small mb-4">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</p>
<p class="small mb-4">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-4">We listen first, then build a plan around what you actually need.</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.
Thousands of guests already trust us, and we work hard to keep it that way.
Book a table online in seconds, or call us for groups of eight or more.
Our team has done this many times, so you never have to guess.
Every dish is cooked to order, so tell us if you would like anything changed.
Cooking classes on Saturday mornings teach you our favourite recipes.
Start in minutes and get help from a real person whenever you need it.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
<div class="hp-pos">
<nav class="navbar fixed-top bg-page border-b px-4 py-2" aria-label="Demo">
<span class="navbar-brand mb-0 h6"><i class="bi bi-lightning-charge-fill" aria-hidden="true"></i> Yaraly Labs</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-4 pb-4" style="padding-top:4rem">
<p class="small mb-4">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-4">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small mb-4">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-4">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-4">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-4">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-4">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-4">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</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.
Order for pickup or delivery and enjoy the same dishes at home.
Our menu changes with the seasons and the best produce from nearby farms.
Thousands of guests already trust us, and we work hard to keep it that way.
Our sommelier has paired each dish with wines from small family vineyards.
Book a table online in seconds, or call us for groups of eight or more.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
Every detail is handled by people who care about getting it right.
We have been feeding this neighbourhood for over a decade, and we still love it.
<div class="hp-pos">
<nav class="fixed-bottom flex bg-page border-t" aria-label="App">
<a href="#" class="flex-auto text-center small py-2 no-underline text-primary-ink" aria-current="page"><i class="bi bi-house-fill" aria-hidden="true"></i><span class="block">Home</span></a><a href="#" class="flex-auto text-center small py-2 no-underline text-muted"><i class="bi bi-search" aria-hidden="true"></i><span class="block">Search</span></a><a href="#" class="flex-auto text-center small py-2 no-underline text-muted"><i class="bi bi-heart-fill" aria-hidden="true"></i><span class="block">Saved</span></a><a href="#" class="flex-auto text-center small py-2 no-underline text-muted"><i class="bi bi-person-fill" aria-hidden="true"></i><span class="block">Profile</span></a>
</nav>
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Mobile tab bar demo">
<div class="px-4 pt-4" style="padding-bottom:4.5rem">
<p class="small mb-4">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small mb-4">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-4">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small mb-4">Our sommelier has paired each dish with wines from small family vineyards.</p>
<p class="small mb-4">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-4">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
<p class="small mb-4">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-4">We have been feeding this neighbourhood for over a decade, and we still love it.</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.
- Finn OkaforMeet the farmers behind our menu
- Ivy LindqvistLooking back at a busy season
- Priya SatoThree pasta shapes to make at home
- Lea MorganFive wines to pair with a summer dinner
- Mateo QuinnPlanning the perfect birthday dinner
- Freya AlvarezHow we make our sourdough every morning
- Kenji VargaOur favourite tips for busy weeks
- Diego NguyenWhat is new on our winter menu
- Kai FischerThe story of our wood-fired oven
<div class="hp-pos">
<div class="fixed-top text-bg-dark px-4 py-2 small font-semibold">
<i class="bi bi-inbox-fill" aria-hidden="true"></i> Inbox
</div>
<div class="fixed-bottom bg-surface-3 border-t px-4 py-1 small text-muted">
Synced 11 min ago
</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="block">Finn Okafor</strong>Meet the farmers behind our menu</li>
<li class="list-group-item small"><strong class="block">Ivy Lindqvist</strong>Looking back at a busy season</li>
<li class="list-group-item small"><strong class="block">Priya Sato</strong>Three pasta shapes to make at home</li>
<li class="list-group-item small"><strong class="block">Lea Morgan</strong>Five wines to pair with a summer dinner</li>
<li class="list-group-item small"><strong class="block">Mateo Quinn</strong>Planning the perfect birthday dinner</li>
<li class="list-group-item small"><strong class="block">Freya Alvarez</strong>How we make our sourdough every morning</li>
<li class="list-group-item small"><strong class="block">Kenji Varga</strong>Our favourite tips for busy weeks</li>
<li class="list-group-item small"><strong class="block">Diego Nguyen</strong>What is new on our winter menu</li>
<li class="list-group-item small"><strong class="block">Kai Fischer</strong>The story of our wood-fired oven</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-4">
<div class="flex mb-2">
<div class="px-4 py-2 rounded-lg small bg-surface-3" style="max-width:75%">
Children are always welcome, with a menu made just for them.
</div>
</div>
<div class="flex justify-end mb-2">
<div class="px-4 py-2 rounded-lg small text-bg-primary" style="max-width:75%">
Clear prices, honest advice and no surprises along the way.
</div>
</div>
<div class="flex mb-2">
<div class="px-4 py-2 rounded-lg small bg-surface-3" style="max-width:75%">
Private dining rooms seat up to forty guests for birthdays and business dinners.
</div>
</div>
<div class="flex justify-end mb-2">
<div class="px-4 py-2 rounded-lg small text-bg-primary" style="max-width:75%">
Friendly people answer your questions quickly, by phone, chat or email.
</div>
</div>
<div class="flex mb-2">
<div class="px-4 py-2 rounded-lg small bg-surface-3" style="max-width:75%">
We measure success by how many guests come back and tell their friends.
</div>
</div>
<div class="flex justify-end mb-2">
<div class="px-4 py-2 rounded-lg small text-bg-primary" style="max-width:75%">
Our terrace is open from spring to autumn, with heaters for cooler evenings.
</div>
</div>
</div>
<form class="sticky-bottom bg-page border-t p-2 flex gap-2">
<label class="sr-only" 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.
- Slow-cooked lamb$32.00
- Truffle pasta$25.99
- Wood-fired pizza$17.00
- Espresso martini$12.00
- Garden salad$12.00
- House lemonade$5.00
- Grilled salmon$27.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 flex justify-between small"><span>Slow-cooked lamb</span><span>$32.00</span></li>
<li class="list-group-item flex justify-between small"><span>Truffle pasta</span><span>$25.99</span></li>
<li class="list-group-item flex justify-between small"><span>Wood-fired pizza</span><span>$17.00</span></li>
<li class="list-group-item flex justify-between small"><span>Espresso martini</span><span>$12.00</span></li>
<li class="list-group-item flex justify-between small"><span>Garden salad</span><span>$12.00</span></li>
<li class="list-group-item flex justify-between small"><span>House lemonade</span><span>$5.00</span></li>
<li class="list-group-item flex justify-between small"><span>Grilled salmon</span><span>$27.00</span></li>
</ul>
<div class="sticky-bottom text-bg-light border-t flex justify-between items-center px-4 py-2">
<strong>Total $130.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.
Our team has done this many times, so you never have to guess.
We keep things simple, so you can focus on what matters to you.
We listen first, then build a plan around what you actually need.
Our sommelier has paired each dish with wines from small family vineyards.
We keep things simple, so you can focus on what matters to you.
We listen first, then build a plan around what you actually need.
Start in minutes and get help from a real person whenever you need it.
We have been feeding this neighbourhood for over a decade, and we still love it.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Product filters">
<div class="sticky-lg-top bg-page border-b p-2 flex gap-2 items-center">
<label class="small whitespace-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-4">
<p class="small mb-4">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-4">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-4">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-4">Our sommelier has paired each dish with wines from small family vineyards.</p>
<p class="small mb-4">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-4">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-4">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-4">We have been feeding this neighbourhood for over a decade, and we still love it.</p>
</div>
</div>
</div>13Sticky editor toolbar
Formatting buttons stay at the top of a long document while you edit.
Cooked with care, served with a smile
Every dish is cooked to order, so tell us if you would like anything changed.
We measure success by how many guests come back and tell their friends.
Our team has done this many times, so you never have to guess.
Every detail is handled by people who care about getting it right.
Clear prices, honest advice and no surprises along the way.
Our menu changes with the seasons and the best produce from nearby farms.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Editor demo">
<div class="sticky-top bg-surface-3 border-b p-1 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-4">
<h3 class="h5">Cooked with care, served with a smile</h3>
<p class="small mb-4">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-4">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-4">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-4">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-4">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-4">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-4">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
</div>
</div>
</div>14Sticky day dividers
Date pills in a message thread stick at the top until the next day arrives.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
Children are always welcome, with a menu made just for them.
Friendly people answer your questions quickly, by phone, chat or email.
Order for pickup or delivery and enjoy the same dishes at home.
Cooking classes on Saturday mornings teach you our favourite recipes.
Book a table online in seconds, or call us for groups of eight or more.
Thousands of guests already trust us, and we work hard to keep it that way.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Private dining rooms seat up to forty guests for birthdays and business dinners.
<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-full text-bg-secondary">Monday</span>
</div>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Children are always welcome, with a menu made just for them.</p>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Friendly people answer your questions quickly, by phone, chat or email.</p>
<div class="sticky-top text-center py-1">
<span class="badge rounded-full text-bg-secondary">Yesterday</span>
</div>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Book a table online in seconds, or call us for groups of eight or more.</p>
<div class="sticky-top text-center py-1">
<span class="badge rounded-full text-bg-secondary">Today</span>
</div>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</p>
<p class="small bg-surface-3 rounded-lg px-4 py-2 mx-4">Private dining rooms seat up to forty guests for birthdays and business dinners.</p>
</div>
</div>15Fixed-bottom update notice
A dismissible style notice pinned with fixed-bottom over scrolling content.
Our menu changes with the seasons and the best produce from nearby farms.
Our team has done this many times, so you never have to guess.
We have been feeding this neighbourhood for over a decade, and we still love it.
Order for pickup or delivery and enjoy the same dishes at home.
Thousands of guests already trust us, and we work hard to keep it that way.
Clear prices, honest advice and no surprises along the way.
Our sommelier has paired each dish with wines from small family vineyards.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
<div class="hp-pos">
<div class="fixed-bottom m-2 alert alert-info flex 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-4 pt-4" style="padding-bottom:5rem">
<p class="small mb-4">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-4">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-4">We have been feeding this neighbourhood for over a decade, and we still love it.</p>
<p class="small mb-4">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small mb-4">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small mb-4">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-4">Our sommelier has paired each dish with wines from small family vineyards.</p>
<p class="small mb-4">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
</div>
</div>
</div>16Sticky category chips
A horizontal row of chips with sticky-top above a feed of cards.
How to choose the right dish
Private dining rooms seat up to forty guests for birthdays and business dinners.
What our guests asked us most
We keep things simple, so you can focus on what matters to you.
Planning the perfect birthday dinner
Every dish is cooked to order, so tell us if you would like anything changed.
What is new on our winter menu
Children are always welcome, with a menu made just for them.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Category feed">
<div class="sticky-top bg-page p-2 flex flex-wrap gap-1 border-b">
<span class="badge rounded-full text-bg-light border">Mains</span><span class="badge rounded-full text-bg-light border">Desserts</span><span class="badge rounded-full text-bg-light border">Drinks</span><span class="badge rounded-full text-bg-light border">Starters</span><span class="badge rounded-full text-bg-light border">Specials</span>
</div>
<div class="p-2 vstack gap-2">
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">How to choose the right dish</h3>
<p class="small mb-0">Private dining rooms seat up to forty guests for birthdays and business dinners.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">What our guests asked us most</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">Planning the perfect birthday dinner</h3>
<p class="small mb-0">Every dish is cooked to order, so tell us if you would like anything changed.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">What is new on our winter menu</h3>
<p class="small mb-0">Children are always welcome, with a menu made just for them.</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.
Every detail is handled by people who care about getting it right.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
Cooking classes on Saturday mornings teach you our favourite recipes.
We measure success by how many guests come back and tell their friends.
Friendly people answer your questions quickly, by phone, chat or email.
Book a table online in seconds, or call us for groups of eight or more.
Start in minutes and get help from a real person whenever you need it.
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="Docs layout">
<div class="sticky-xl-top bg-surface-3 border-b px-4 py-2 small">
<i class="bi bi-list-nested" aria-hidden="true"></i> Contents: Introduction · Install · Usage
</div>
<div class="p-4">
<p class="small mb-4">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-4">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
<p class="small mb-4">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-4">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-4">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-4">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-4">Start in minutes and get help from a real person whenever you need it.</p>
<p class="small mb-4">We listen first, then build a plan around what you actually need.</p>
</div>
</div>
</div>18Checkout button on phones
sticky-sm-bottom sticks the call to action at the bottom from the sm breakpoint up.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Thousands of guests already trust us, and we work hard to keep it that way.
We keep things simple, so you can focus on what matters to you.
Cooking classes on Saturday mornings teach you our favourite recipes.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Product details">
<div class="p-4">
<img src="../assets/img/product-5.svg" alt="Chocolate tart" class="img-fluid rounded-md mb-4">
<p class="small mb-4">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</p>
<p class="small mb-4">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small mb-4">We keep things simple, so you can focus on what matters to you.</p>
<p class="small mb-4">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
</div>
<div class="sticky-sm-bottom bg-page border-t p-2">
<button type="button" class="btn btn-primary w-full"><i class="bi bi-bag-plus-fill" aria-hidden="true"></i> Add to bag · $48.72</button>
</div>
</div>
</div>19Reading progress header
A sticky header with a thin progress bar showing how far the reader has come.
We measure success by how many guests come back and tell their friends.
We listen first, then build a plan around what you actually need.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
Book a table online in seconds, or call us for groups of eight or more.
Every dish is cooked to order, so tell us if you would like anything changed.
Our team has done this many times, so you never have to guess.
Friendly people answer your questions quickly, by phone, chat or email.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
<div class="hp-pos">
<div class="hp-pos-scroll" tabindex="0" role="region" aria-label="Reading demo">
<div class="sticky-top bg-page">
<div class="px-4 py-2 small font-semibold">
Vegan dishes worth crossing town for
</div>
<div class="progress rounded-none" role="progressbar" aria-label="Reading progress" aria-valuenow="44" aria-valuemin="0" aria-valuemax="100" style="--ui-progress-height:.25rem">
<div class="progress-bar" style="width:44%">
</div>
</div>
</div>
<div class="p-4">
<p class="small mb-4">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-4">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-4">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small mb-4">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-4">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-4">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-4">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-4">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
</div>
</div>
</div>20Sticky table footer
A tfoot with sticky-bottom keeps the running total visible in a timesheet.
| Date | Task | Hours |
|---|---|---|
| Jun 3, 2026 | Cooking classes | 4 h |
| Feb 2, 2026 | Takeaway | 6 h |
| Oct 7, 2026 | Private events | 7 h |
| Apr 8, 2026 | Catering | 7 h |
| Sep 5, 2026 | Private events | 5 h |
| Jun 4, 2026 | Takeaway | 4 h |
| Apr 12, 2026 | Cooking classes | 4 h |
| Feb 27, 2026 | Takeaway | 3 h |
| Jun 2, 2026 | Takeaway | 8 h |
| Sep 25, 2026 | Catering | 8 h |
| Total | 56 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>Jun 3, 2026</td>
<td>Cooking classes</td>
<td class="text-end">4 h</td>
</tr>
<tr>
<td>Feb 2, 2026</td>
<td>Takeaway</td>
<td class="text-end">6 h</td>
</tr>
<tr>
<td>Oct 7, 2026</td>
<td>Private events</td>
<td class="text-end">7 h</td>
</tr>
<tr>
<td>Apr 8, 2026</td>
<td>Catering</td>
<td class="text-end">7 h</td>
</tr>
<tr>
<td>Sep 5, 2026</td>
<td>Private events</td>
<td class="text-end">5 h</td>
</tr>
<tr>
<td>Jun 4, 2026</td>
<td>Takeaway</td>
<td class="text-end">4 h</td>
</tr>
<tr>
<td>Apr 12, 2026</td>
<td>Cooking classes</td>
<td class="text-end">4 h</td>
</tr>
<tr>
<td>Feb 27, 2026</td>
<td>Takeaway</td>
<td class="text-end">3 h</td>
</tr>
<tr>
<td>Jun 2, 2026</td>
<td>Takeaway</td>
<td class="text-end">8 h</td>
</tr>
<tr>
<td>Sep 25, 2026</td>
<td>Catering</td>
<td class="text-end">8 h</td>
</tr>
</tbody>
<tfoot class="sticky-bottom">
<tr class="table-light font-semibold">
<td colspan="2">Total</td>
<td class="text-end">56 h</td>
</tr>
</tfoot>
</table>
</div>
</div>