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
Start in minutes and get help from a real person whenever you need it. Price alerts tell you the moment a home that fits your search comes on the market. Most of our homes sell within six weeks, often above the asking price. We measure success by how many buyers come back and tell their friends.
overflow-hidden
Start in minutes and get help from a real person whenever you need it. Price alerts tell you the moment a home that fits your search comes on the market. Most of our homes sell within six weeks, often above the asking price. We measure success by how many buyers come back and tell their friends.
overflow-visible
Start in minutes and get help from a real person whenever you need it. Price alerts tell you the moment a home that fits your search comes on the market. Most of our homes sell within six weeks, often above the asking price. We measure success by how many buyers come back and tell their friends.
overflow-scroll
Start in minutes and get help from a real person whenever you need it. Price alerts tell you the moment a home that fits your search comes on the market. Most of our homes sell within six weeks, often above the asking price. We measure success by how many buyers come back and tell their friends.

2Horizontal scroll only

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

Legal support
Home valuation
Virtual tours
Property search
Mortgage advice

3Vertical scroll only

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

  • Mateo Harlow
  • Nora Whitaker
  • Zoe Brennan
  • Liam Nguyen
  • Jonah Haddad
  • Owen Ibrahim

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
#ORD-8600Diego DelgadoBarcelonaAug 1, 2026Completed$433.69
#INV-4546Sofia MoreauEdinburghApr 26, 2026Pending$615.94

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/xenoera-hub --base ./ --sourcemap false --emptyOutDir

7Chat window

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

Thousands of buyers already trust us, and we work hard to keep it that way.
Every detail is handled by people who care about getting it right.
Our local agents know every street, school and coffee shop in the area.
Mortgage advisors help you understand what you can afford before you start.

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

Get a free, no-obligation valuation of your home within 48 hours. We handle the paperwork, so you can focus on planning the move. We keep things simple, so you can focus on what matters to you.

Book viewings online and take a 3D tour before you leave the house. Clear prices, honest advice and no surprises along the way. Honest advice comes first, even when it means waiting for the right home.

Get a free, no-obligation valuation of your home within 48 hours. We handle the paperwork, so you can focus on planning the move. Our local agents know every street, school and coffee shop in the area. Most of our homes sell within six weeks, often above the asking price.

10Visible overflow for a badge

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

overflow-hidden4
overflow-visible1

11Hidden overflow for a cropped title

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

Home is closer than you think - We keep things simple, so you can focus on what matters to you.
Jul 25, 2026

12Sidebar that scrolls separately

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

Every listing is checked by our team, so the photos match what you see in person. Thousands of buyers already trust us, and we work hard to keep it that way.

13Image pan area

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

Ten questions to ask at a viewing

14Kanban columns

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

To do
Legal support
Rental management
Property search
Doing
Home valuation
Done
Virtual tours

15Overflow-x hidden

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

Honest advice comes first, even when it means waiting for the right home.
Panel partly off the edge

16Overflow-y scroll always

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

Book viewings online and take a 3D tour before you leave the house.

17Notification panel

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

Notifications
Clear prices, honest advice and no surprises along the way.
Mortgage advisors help you understand what you can afford before you start.
Friendly people answer your questions quickly, by phone, chat or email.
Our team has done this many times, so you never have to guess.
View all

18Clip a decorative shape

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

The right home, the right price

Neighbourhood guides cover transport, schools and things to do.

19Long word handling

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

downloads/xenoera-hub/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/xenoera-hub/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
Pro34191 GBEmail and chatUnlimited$69.92