Skip to content

Overflow

Overflow utilities control what happens when content is bigger than its box: overflow-auto scrolls when needed, overflow-hidden clips, overflow-visible lets content spill and overflow-scroll always shows scrollbars. overflow-x-* and overflow-y-* handle each axis separately, ideal for wide tables and side-scrolling rows.

1The four overflow values

overflow-auto, overflow-hidden, overflow-visible and overflow-scroll on boxes of fixed height.

overflow-auto
Clear prices, honest advice and no surprises along the way. We work with most insurance providers and explain any costs upfront. Your records are private, secure and always available when you need them. Video consultations let you speak with a doctor from the comfort of home.
overflow-hidden
Clear prices, honest advice and no surprises along the way. We work with most insurance providers and explain any costs upfront. Your records are private, secure and always available when you need them. Video consultations let you speak with a doctor from the comfort of home.
overflow-visible
Clear prices, honest advice and no surprises along the way. We work with most insurance providers and explain any costs upfront. Your records are private, secure and always available when you need them. Video consultations let you speak with a doctor from the comfort of home.
overflow-scroll
Clear prices, honest advice and no surprises along the way. We work with most insurance providers and explain any costs upfront. Your records are private, secure and always available when you need them. Video consultations let you speak with a doctor from the comfort of home.

2Horizontal scroll only

overflow-x-auto with flex-nowrap scrolls a row of cards sideways.

Dental care
Lab tests
Dental care
Telehealth
Physiotherapy

3Vertical scroll only

overflow-y-auto and a max-height make a scrolling list.

  • Mia Alvarez
  • Hana Ortega
  • Diego Duarte
  • Arjun Nguyen
  • Ivy Ashford
  • Chloe Whitaker

4Hidden to clip rounded corners

overflow-hidden on a rounded card clips the image corners.

Not clipped
without
Clipped
overflow-hidden

5Wide table

A wide table inside overflow-x-auto scrolls instead of breaking the page.

OrderCustomerCityDateStatusTotal
#INV-1373Leo MoreauOsloDec 3, 2025Draft$351.33
#PO-4289Ella TanakaTorontoJan 13, 2026Draft$419.37

6Code block that scrolls

Long lines in a pre with overflow-x-auto stay on one line.

npm run build -- --mode production --out-dir dist/brioo --base ./ --sourcemap false --emptyOutDir

7Chat window

A fixed height message area with overflow-y-auto above a fixed input.

Lab results arrive in your patient portal, usually within 48 hours.
Our clinic is fully accessible, with free parking right outside.
Thousands of patients 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.

8Scrollable tab strip

Pills in a flex-nowrap row with overflow-x-auto for many categories.

9Terms box

A long text inside a bordered box with overflow-auto, like a licence agreement.

Terms of use

Book online in two minutes and see a doctor as soon as today. Our specialists take time to listen and explain every step of your treatment. Family plans cover check-ups and vaccinations for everyone under one roof. Start in minutes and get help from a real person whenever you need it.

Friendly people answer your questions quickly, by phone, chat or email. Lab results arrive in your patient portal, usually within 48 hours. Video consultations let you speak with a doctor from the comfort of home. We measure success by how many patients come back and tell their friends.

Every detail is handled by people who care about getting it right. Family plans cover check-ups and vaccinations for everyone under one roof. Children are welcome, and our paediatric team knows how to make them smile.

10Visible overflow for a badge

overflow-visible lets a badge stick out of a box that would otherwise clip it.

overflow-hidden9
overflow-visible6

11Hidden overflow for a cropped title

overflow-hidden with a fixed height clips long text to two lines worth of space.

Healthcare that fits your life - We keep things simple, so you can focus on what matters to you.
Sep 26, 2026

12Sidebar that scrolls separately

The nav column scrolls with overflow-y-auto while the content stays put.

We work with most insurance providers and explain any costs upfront. Modern equipment means faster diagnoses and more comfortable treatment.

13Image pan area

A large image in an overflow-auto box can be scrolled in both directions.

Inside our new heart screening clinic

14Kanban columns

Columns side by side in overflow-x-auto, each column scrolls with overflow-y-auto.

To do
Health check-ups
Physiotherapy
Telehealth
Doing
Telehealth
Done
General practice

15Overflow-x hidden

overflow-x-hidden hides content that slides in from the side, like an off-screen panel.

Clear prices, honest advice and no surprises along the way.
Panel partly off the edge

16Overflow-y scroll always

overflow-y-scroll always shows the vertical scrollbar, so the width never jumps.

Our team has done this many times, so you never have to guess.

17Notification panel

A dropdown-like panel with header, scrolling body and footer.

Notifications
Book online in two minutes and see a doctor as soon as today.
Our specialists take time to listen and explain every step of your treatment.
Your records are private, secure and always available when you need them.
Start in minutes and get help from a real person whenever you need it.
View all

18Clip a decorative shape

A big circle partly outside its panel is cut off by overflow-hidden.

Personal care from people who listen

Thousands of patients already trust us, and we work hard to keep it that way.

19Long word handling

overflow-hidden plus text-truncate versus text-break for an unbreakable string.

downloads/brioo/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/brioo/assets/very-long-file-name-without-any-spaces-at-all.zip

20Responsive table wrapper

table-responsive is the helper made of overflow-x-auto for tables.

PlanUsersStorageSupportAPIPrice
Pro5056 GBEmail and chatUnlimited$30.77