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
More than sixty classes a week, from sunrise yoga to late-night spin. Modern equipment is cleaned, serviced and ready every day. Certified coaches design every session around your level and your goals. Beginners are always welcome, with an intro session included.
overflow-hidden
More than sixty classes a week, from sunrise yoga to late-night spin. Modern equipment is cleaned, serviced and ready every day. Certified coaches design every session around your level and your goals. Beginners are always welcome, with an intro session included.
overflow-visible
More than sixty classes a week, from sunrise yoga to late-night spin. Modern equipment is cleaned, serviced and ready every day. Certified coaches design every session around your level and your goals. Beginners are always welcome, with an intro session included.
overflow-scroll
More than sixty classes a week, from sunrise yoga to late-night spin. Modern equipment is cleaned, serviced and ready every day. Certified coaches design every session around your level and your goals. Beginners are always welcome, with an intro session included.

2Horizontal scroll only

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

Nutrition plans
Nutrition plans
Group classes
Yoga
Personal training

3Vertical scroll only

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

  • Lea Hughes
  • Ella Morgan
  • Mason Carter
  • Sofia Ibrahim
  • Jonah Rossi
  • Lucas Kim

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
#PO-1129Ivy LindqvistVancouverFeb 5, 2026On hold$809.76
#PO-2907Chloe MensahCopenhagenOct 13, 2026Approved$608.60

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/aeroium-deck --base ./ --sourcemap false --emptyOutDir

7Chat window

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

Start in minutes and get help from a real person whenever you need it.
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.
Our recovery spa has a sauna, cold plunge and massage rooms.

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

Every detail is handled by people who care about getting it right. Clear prices, honest advice and no surprises along the way. Our team has done this many times, so you never have to guess. Community events keep you motivated, from fun runs to workshops.

Small group classes mean your coach knows your name and your form. We keep things simple, so you can focus on what matters to you. Friendly people answer your questions quickly, by phone, chat or email. Pause or change your membership any time, with no long contracts.

Open 24 hours, so you can train whenever it suits your day. Nutrition plans fit your routine and the food you actually enjoy. We measure success by how many members come back and tell their friends. Beginners are always welcome, with an intro session included.

10Visible overflow for a badge

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

overflow-hidden1
overflow-visible5

11Hidden overflow for a cropped title

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

Stronger every single day - Pause or change your membership any time, with no long contracts.
Dec 9, 2025

12Sidebar that scrolls separately

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

Modern equipment is cleaned, serviced and ready every day. We listen first, then build a plan around what you actually need.

13Image pan area

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

Looking back at a busy season

14Kanban columns

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

To do
Online coaching
Recovery spa
Personal training
Doing
Nutrition plans
Done
Group classes

15Overflow-x hidden

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

Our recovery spa has a sauna, cold plunge and massage rooms.
Panel partly off the edge

16Overflow-y scroll always

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

Nutrition plans fit your routine and the food you actually enjoy.

17Notification panel

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

Notifications
Open 24 hours, so you can train whenever it suits your day.
Every detail is handled by people who care about getting it right.
Online coaching keeps you on track when you travel.
Track your progress in the app and see how far you have come.
View all

18Clip a decorative shape

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

Your fitness journey starts now

Certified coaches design every session around your level and your goals.

19Long word handling

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

downloads/aeroium-deck/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/aeroium-deck/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
Pro18333 GBEmail and chatUnlimited$31.69