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.
Book a table online in seconds, or call us for groups of eight or more.
Friendly people answer your questions quickly, by phone, chat or email.
Clear prices, honest advice and no surprises along the way.
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.
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.
<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> Planning the perfect birthday dinner
</header>
<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">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-3">Friendly people answer your questions quickly, by phone, chat or email.</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">We have been feeding this neighbourhood for over a decade, and we still love it.</p>
<p class="small mb-3">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-3">Thousands of guests already trust us, and we work hard to keep it that way.</p>
</div>
</div>
</div>2Sticky save bar
sticky-bottom keeps form actions at the bottom edge of the scrolling area.
Order for pickup or delivery and enjoy the same dishes at home.
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.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Children are always welcome, with a menu made just for them.
Every detail is handled by people who care about getting it right.
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="Sticky save bar demo">
<div class="p-3">
<p class="small mb-3">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small mb-3">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small mb-3">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-3">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</p>
<p class="small mb-3">Children are always welcome, with a menu made just for them.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</p>
<p class="small mb-3">Private dining rooms seat up to forty guests for birthdays and business dinners.</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 |
|---|---|---|
| Finn Patel | Marketing Lead | Singapore |
| Felix Hughes | Data Analyst | Lisbon |
| Ravi Alvarez | Frontend Engineer | Edinburgh |
| Ella Carter | HR Partner | Copenhagen |
| Omar Rossi | Sales Executive | Austin |
| Ravi Whitaker | Project Manager | Denver |
| Priya Mensah | Project Manager | Oslo |
| Sofia Fischer | HR Partner | Vancouver |
| Luna Nguyen | Art Director | Auckland |
| Ethan Duarte | HR Partner | Barcelona |
| Diego Silva | HR Partner | Dublin |
| Theo Kowalski | Sales Executive | Lisbon |
<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>Finn Patel</td>
<td>Marketing Lead</td>
<td>Singapore</td>
</tr>
<tr>
<td>Felix Hughes</td>
<td>Data Analyst</td>
<td>Lisbon</td>
</tr>
<tr>
<td>Ravi Alvarez</td>
<td>Frontend Engineer</td>
<td>Edinburgh</td>
</tr>
<tr>
<td>Ella Carter</td>
<td>HR Partner</td>
<td>Copenhagen</td>
</tr>
<tr>
<td>Omar Rossi</td>
<td>Sales Executive</td>
<td>Austin</td>
</tr>
<tr>
<td>Ravi Whitaker</td>
<td>Project Manager</td>
<td>Denver</td>
</tr>
<tr>
<td>Priya Mensah</td>
<td>Project Manager</td>
<td>Oslo</td>
</tr>
<tr>
<td>Sofia Fischer</td>
<td>HR Partner</td>
<td>Vancouver</td>
</tr>
<tr>
<td>Luna Nguyen</td>
<td>Art Director</td>
<td>Auckland</td>
</tr>
<tr>
<td>Ethan Duarte</td>
<td>HR Partner</td>
<td>Barcelona</td>
</tr>
<tr>
<td>Diego Silva</td>
<td>HR Partner</td>
<td>Dublin</td>
</tr>
<tr>
<td>Theo Kowalski</td>
<td>Sales Executive</td>
<td>Lisbon</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
- Ashford, Isla
- Ashford, Noah
D
- Duarte, Mia
H
- Haddad, Liam
- Harlow, Ivy
I
- Ibrahim, Elena
- Ibrahim, Finn
K
- Kim, Ruby
L
- Larsen, Arjun
- Larsen, Omar
M
- Mensah, Hana
- Moreau, Jonah
N
- Novak, Lea
O
- Okafor, Ella
- Okafor, Freya
P
- Patel, Lucas
Q
- Quinn, Zoe
R
- Rossi, Ava
S
- Sato, Chloe
- Sato, Nadia
- Silva, Leo
T
- Tanaka, Maya
V
- Varga, Kenji
W
- Whitaker, Samir
<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">Ashford, Isla</li>
<li class="py-1">Ashford, Noah</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">Duarte, Mia</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, Liam</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">I</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Ibrahim, Elena</li>
<li class="py-1">Ibrahim, Finn</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, 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, Arjun</li>
<li class="py-1">Larsen, Omar</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">Mensah, Hana</li>
<li class="py-1">Moreau, Jonah</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">Novak, Lea</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, Ella</li>
<li class="py-1">Okafor, Freya</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, Lucas</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, Zoe</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, Ava</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, Chloe</li>
<li class="py-1">Sato, Nadia</li>
<li class="py-1">Silva, Leo</li>
</ul>
</section>
<section>
<h3 class="sticky-top bg-body-secondary h6 mb-0 px-3 py-1">T</h3>
<ul class="list-unstyled px-3 py-2 mb-0">
<li class="py-1">Tanaka, Maya</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, Kenji</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, Samir</li>
</ul>
</section>
</div>
</div>5Sticky sidebar
A column with a sticky-top block stays in view next to a long content column.
We listen first, then build a plan around what you actually need.
Cooking classes on Saturday mornings teach you our favourite recipes.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
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.
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.
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.
<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">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-3">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
<p class="small mb-3">Our sommelier has paired each dish with wines from small family vineyards.</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">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small mb-3">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-3">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-3">Cooking classes on Saturday mornings teach you our favourite recipes.</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 sommelier has paired each dish with wines from small family vineyards.
We have been feeding this neighbourhood for over a decade, and we still love it.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
Our team has done this many times, so you never have to guess.
Private dining rooms seat up to forty guests for birthdays and business dinners.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
Children are always welcome, with a menu made just for them.
Order for pickup or delivery and enjoy the same dishes at home.
<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" aria-hidden="true"></i> Sticky from md, normal flow on small screens
</div>
<div class="p-3">
<p class="small mb-3">Our sommelier has paired each dish with wines from small family vineyards.</p>
<p class="small mb-3">We have been feeding this neighbourhood for over a decade, and we still love it.</p>
<p class="small mb-3">Bread is baked every morning and pasta is rolled by hand in our kitchen.</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">Private dining rooms seat up to forty guests for birthdays and business dinners.</p>
<p class="small mb-3">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small mb-3">Children are always welcome, with a menu made just for them.</p>
<p class="small mb-3">Order for pickup or delivery and enjoy the same dishes at home.</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 detail is handled by people who care about getting it right.
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.
Clear prices, honest advice and no surprises along the way.
Every dish is cooked to order, so tell us if you would like anything changed.
We listen first, then build a plan around what you actually need.
Our menu changes with the seasons and the best produce from nearby farms.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
<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" aria-hidden="true"></i> Iris Hub</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 detail is handled by people who care about getting it right.</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">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-3">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.
Thousands of guests already trust us, and we work hard to keep it that way.
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.
We have been feeding this neighbourhood for over a decade, and we still love it.
Start in minutes and get help from a real person whenever you need it.
Cooking classes on Saturday mornings teach you our favourite recipes.
We listen first, then build a plan around what you actually need.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
<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" 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" 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" 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">Thousands of guests 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">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-3">We have been feeding this neighbourhood for over a decade, and we still love it.</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">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</p>
<p class="small mb-3">Bread is baked every morning and pasta is rolled by hand in our kitchen.</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.
- Kai OrtegaWhat our guests asked us most
- Mateo TanakaVegan dishes worth crossing town for
- Tariq NguyenOur favourite tips for busy weeks
- Owen KowalskiThe story of our wood-fired oven
- Aria HarlowFive things we learned this year
- Nora LindqvistHow to choose the right dish
- Amara BrennanA beginner's guide to getting started
- Felix DelgadoFive wines to pair with a summer dinner
- Mason VargaThree pasta shapes to make at home
<div class="hp-pos">
<div class="fixed-top text-bg-dark px-3 py-2 small fw-semibold">
<i class="bi bi-inbox" aria-hidden="true"></i> Inbox
</div>
<div class="fixed-bottom bg-body-tertiary border-top px-3 py-1 small text-body-secondary">
Synced 6 days 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="d-block">Kai Ortega</strong>What our guests asked us most</li>
<li class="list-group-item small"><strong class="d-block">Mateo Tanaka</strong>Vegan dishes worth crossing town for</li>
<li class="list-group-item small"><strong class="d-block">Tariq Nguyen</strong>Our favourite tips for busy weeks</li>
<li class="list-group-item small"><strong class="d-block">Owen Kowalski</strong>The story of our wood-fired oven</li>
<li class="list-group-item small"><strong class="d-block">Aria Harlow</strong>Five things we learned this year</li>
<li class="list-group-item small"><strong class="d-block">Nora Lindqvist</strong>How to choose the right dish</li>
<li class="list-group-item small"><strong class="d-block">Amara Brennan</strong>A beginner's guide to getting started</li>
<li class="list-group-item small"><strong class="d-block">Felix Delgado</strong>Five wines to pair with a summer dinner</li>
<li class="list-group-item small"><strong class="d-block">Mason Varga</strong>Three pasta shapes to make at home</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%">
Order for pickup or delivery and enjoy the same dishes at home.
</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 dish is cooked to order, so tell us if you would like anything changed.
</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 terrace is open from spring to autumn, with heaters for cooler evenings.
</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 detail is handled by people who care about getting it right.
</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 sommelier has paired each dish with wines from small family vineyards.
</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%">
Our team has done this many times, so you never have to guess.
</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" aria-hidden="true"></i></button>
</form>
</div>
</div>11Sticky cart total
The order total sticks to the bottom of a long basket list.
- Seasonal soup$8.00
- Slow-cooked lamb$32.99
- Lemon tiramisu$11.00
- Garden salad$11.00
- Espresso martini$11.00
- Grilled salmon$28.00
- Chocolate tart$9.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>Seasonal soup</span><span>$8.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Slow-cooked lamb</span><span>$32.99</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Lemon tiramisu</span><span>$11.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Garden salad</span><span>$11.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Espresso martini</span><span>$11.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Grilled salmon</span><span>$28.00</span></li>
<li class="list-group-item d-flex justify-content-between small"><span>Chocolate tart</span><span>$9.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 $110.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.
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.
Clear prices, honest advice and no surprises along the way.
Private dining rooms seat up to forty guests for birthdays and business dinners.
We keep things simple, so you can focus on what matters to you.
Children are always welcome, with a menu made just for them.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Every detail is handled by people who care about getting it right.
<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">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-3">Our menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">Private dining rooms seat up to forty guests for birthdays and business dinners.</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">Children are always welcome, with a menu made just for them.</p>
<p class="small mb-3">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</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
Book a table online in seconds, or call us for groups of eight or more.
We keep things simple, so you can focus on what matters to you.
Our team has done this many times, so you never have to guess.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
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.
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="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" aria-hidden="true"></i></button>
</div>
<div class="p-3">
<h3 class="h5">Cooked with care, served with a smile</h3>
<p class="small mb-3">Book a table online in seconds, or call us for groups of eight or more.</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">Our team has done this many times, so you never have to guess.</p>
<p class="small mb-3">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small mb-3">We listen first, then build a plan around what you actually need.</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">Children are always welcome, with a menu made just for them.</p>
</div>
</div>
</div>14Sticky day dividers
Date pills in a message thread stick at the top until the next day arrives.
Our menu changes with the seasons and the best produce from nearby farms.
Friendly people answer your questions quickly, by phone, chat or email.
Order for pickup or delivery and enjoy the same dishes at home.
We have been feeding this neighbourhood for over a decade, and we still love it.
Our sommelier has paired each dish with wines from small family vineyards.
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 measure success by how many guests come back and tell their friends.
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="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 menu changes with the seasons and the best produce from nearby farms.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Order for pickup or delivery and enjoy the same dishes at home.</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 have been feeding this neighbourhood for over a decade, and we still love it.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Our sommelier has paired each dish with wines from small family vineyards.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</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">Thousands of guests already trust us, and we work hard to keep it that way.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">We measure success by how many guests come back and tell their friends.</p>
<p class="small bg-body-tertiary rounded-3 px-3 py-2 mx-3">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
</div>
</div>15Fixed-bottom update notice
A dismissible style notice pinned with fixed-bottom over scrolling content.
Cooking classes on Saturday mornings teach you our favourite recipes.
Clear prices, honest advice and no surprises along the way.
Every dish is cooked to order, so tell us if you would like anything changed.
Private dining rooms seat up to forty guests for birthdays and business dinners.
Our terrace is open from spring to autumn, with heaters for cooler evenings.
Bread is baked every morning and pasta is rolled by hand in our kitchen.
Order for pickup or delivery and enjoy the same dishes at home.
We keep things simple, so you can focus on what matters to you.
<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">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-3">Clear prices, honest advice and no surprises along the way.</p>
<p class="small mb-3">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-3">Private dining rooms seat up to forty guests for birthdays and business dinners.</p>
<p class="small mb-3">Our terrace is open from spring to autumn, with heaters for cooler evenings.</p>
<p class="small mb-3">Bread is baked every morning and pasta is rolled by hand in our kitchen.</p>
<p class="small mb-3">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small mb-3">We keep things simple, so you can focus on what matters to you.</p>
</div>
</div>
</div>16Sticky category chips
A horizontal row of chips with sticky-top above a feed of cards.
Looking back at a busy season
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
The small habits that make a big difference
Private dining rooms seat up to forty guests for birthdays and business dinners.
Looking back at a busy season
Clear prices, honest advice and no surprises along the way.
Planning the perfect birthday dinner
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="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">Starters</span><span class="badge rounded-pill text-bg-light border">Mains</span><span class="badge rounded-pill text-bg-light border">Specials</span><span class="badge rounded-pill text-bg-light border">Drinks</span><span class="badge rounded-pill text-bg-light border">Desserts</span>
</div>
<div class="p-2 vstack gap-2">
<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">Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.</p>
</div>
</div>
<div class="card">
<div class="card-body py-2">
<h3 class="h6 mb-1">The small habits that make a big difference</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">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">Planning the perfect birthday dinner</h3>
<p class="small mb-0">We have been feeding this neighbourhood for over a decade, and we still love it.</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.
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.
Our menu changes with the seasons and the best produce from nearby farms.
Start in minutes and get help from a real person whenever you need it.
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 sommelier has paired each dish with wines from small family vineyards.
Every detail is handled by people who care about getting it right.
<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">Friendly people answer your questions quickly, by phone, chat or email.</p>
<p class="small mb-3">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-3">Our menu changes with the seasons and the best produce from nearby farms.</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">Every dish is cooked to order, so tell us if you would like anything changed.</p>
<p class="small mb-3">We measure success by how many guests come back and tell their friends.</p>
<p class="small mb-3">Our sommelier has paired each dish with wines from small family vineyards.</p>
<p class="small mb-3">Every detail is handled by people who care about getting it right.</p>
</div>
</div>
</div>18Checkout button on phones
sticky-sm-bottom sticks the call to action at the bottom from the sm breakpoint up.
We listen first, then build a plan around what you actually need.
Our team has done this many times, so you never have to guess.
Children are always welcome, with a menu made just for them.
Thousands of guests 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 details">
<div class="p-3">
<img src="../assets/img/product-5.svg" alt="Chocolate tart" class="img-fluid rounded mb-3">
<p class="small mb-3">We listen first, then build a plan around what you actually need.</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">Children are always welcome, with a menu made just for them.</p>
<p class="small mb-3">Thousands of guests already trust us, and we work hard to keep it that way.</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" aria-hidden="true"></i> Add to bag · $43.26</button>
</div>
</div>
</div>19Reading progress header
A sticky header with a thin progress bar showing how far the reader has come.
Cooking classes on Saturday mornings teach you our favourite recipes.
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.
We listen first, then build a plan around what you actually need.
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.
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="Reading demo">
<div class="sticky-top bg-body">
<div class="px-3 py-2 small fw-semibold">
The story of our wood-fired oven
</div>
<div class="progress rounded-0" role="progressbar" aria-label="Reading progress" aria-valuenow="59" aria-valuemin="0" aria-valuemax="100" style="--bs-progress-height:.25rem">
<div class="progress-bar" style="width:59%">
</div>
</div>
</div>
<div class="p-3">
<p class="small mb-3">Cooking classes on Saturday mornings teach you our favourite recipes.</p>
<p class="small mb-3">Order for pickup or delivery and enjoy the same dishes at home.</p>
<p class="small mb-3">Private dining rooms seat up to forty guests for birthdays and business dinners.</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">Children are always welcome, with a menu made just for them.</p>
<p class="small mb-3">Book a table online in seconds, or call us for groups of eight or more.</p>
<p class="small mb-3">We keep things simple, so you can focus on what matters to you.</p>
</div>
</div>
</div>20Sticky table footer
A tfoot with sticky-bottom keeps the running total visible in a timesheet.
| Date | Task | Hours |
|---|---|---|
| Jul 21, 2026 | Wine pairing | 6 h |
| Oct 28, 2025 | Takeaway | 3 h |
| Apr 19, 2026 | Catering | 6 h |
| Oct 18, 2025 | Wine pairing | 3 h |
| Feb 3, 2026 | Cooking classes | 1 h |
| Sep 30, 2025 | Catering | 2 h |
| Jul 10, 2026 | Dine-in | 1 h |
| Jan 13, 2026 | Cooking classes | 5 h |
| Sep 15, 2025 | Takeaway | 5 h |
| Mar 4, 2026 | Dine-in | 5 h |
| Total | 37 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>Jul 21, 2026</td>
<td>Wine pairing</td>
<td class="text-end">6 h</td>
</tr>
<tr>
<td>Oct 28, 2025</td>
<td>Takeaway</td>
<td class="text-end">3 h</td>
</tr>
<tr>
<td>Apr 19, 2026</td>
<td>Catering</td>
<td class="text-end">6 h</td>
</tr>
<tr>
<td>Oct 18, 2025</td>
<td>Wine pairing</td>
<td class="text-end">3 h</td>
</tr>
<tr>
<td>Feb 3, 2026</td>
<td>Cooking classes</td>
<td class="text-end">1 h</td>
</tr>
<tr>
<td>Sep 30, 2025</td>
<td>Catering</td>
<td class="text-end">2 h</td>
</tr>
<tr>
<td>Jul 10, 2026</td>
<td>Dine-in</td>
<td class="text-end">1 h</td>
</tr>
<tr>
<td>Jan 13, 2026</td>
<td>Cooking classes</td>
<td class="text-end">5 h</td>
</tr>
<tr>
<td>Sep 15, 2025</td>
<td>Takeaway</td>
<td class="text-end">5 h</td>
</tr>
<tr>
<td>Mar 4, 2026</td>
<td>Dine-in</td>
<td class="text-end">5 h</td>
</tr>
</tbody>
<tfoot class="sticky-bottom">
<tr class="table-light fw-semibold">
<td colspan="2">Total</td>
<td class="text-end">37 h</td>
</tr>
</tfoot>
</table>
</div>
</div>