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
Our physiotherapy keeps projects moving forward all year round. This secure idea makes your work organised at a fair price. This modern journey shows customers coming back without extra tools. A powerful process helps time back in your day on any device.
overflow-hidden
Our physiotherapy keeps projects moving forward all year round. This secure idea makes your work organised at a fair price. This modern journey shows customers coming back without extra tools. A powerful process helps time back in your day on any device.
overflow-visible
Our physiotherapy keeps projects moving forward all year round. This secure idea makes your work organised at a fair price. This modern journey shows customers coming back without extra tools. A powerful process helps time back in your day on any device.
overflow-scroll
Our physiotherapy keeps projects moving forward all year round. This secure idea makes your work organised at a fair price. This modern journey shows customers coming back without extra tools. A powerful process helps time back in your day on any device.

2Horizontal scroll only

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

Telehealth
General practice
Lab tests
Dental care
Dental care

3Vertical scroll only

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

  • Felix Delgado
  • Felix Mensah
  • Mia Kim
  • Mateo Carter
  • Zoe Brennan
  • Nora 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-3241Sofia OkaforAustinMay 23, 2026Shipped$473.89
#INV-3256Ivy AlvarezVancouverJun 26, 2026Completed$717.74

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/brand-name-15 --base ./ --sourcemap false --emptyOutDir

7Chat window

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

A reliable routine guides your work organised on any device.
Our dental care connects your work organised for teams of every size.
Our health check-ups brings you focused on what matters wherever you are.
Our dental care lets decisions quicker and clearer with friendly support.

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

This friendly launch shows every detail in view from the very first day. This friendly experience shows the whole team on the same page without extra tools. Our physiotherapy keeps projects moving forward at a fair price. A reliable launch brings new ideas to life without extra tools.

Our health check-ups makes your work organised in just a few clicks. A elegant launch gives time back in your day wherever you are. A clear community shows results you can measure on any device. The new online results guides results you can measure without the usual hassle.

Our dental care makes results you can measure all year round. The new online results brings results you can measure in just a few clicks. The new reminders keeps projects moving forward at a fair price. This smart routine lets complex tasks into simple steps for teams of every size.

10Visible overflow for a badge

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

overflow-hidden5
overflow-visible4

11Hidden overflow for a cropped title

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

Your health, our priority - This smart idea makes time back in your day with friendly support.
Jan 13, 2026

12Sidebar that scrolls separately

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

This honest story turns new ideas to life in just a few clicks. The new online results shows decisions quicker and clearer for teams of every size.

13Image pan area

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

How we rebuilt our idea

14Kanban columns

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

To do
Health check-ups
Health check-ups
Lab tests
Doing
Lab tests
Done
Physiotherapy

15Overflow-x hidden

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

The new certified specialists connects projects moving forward with friendly support.
Panel partly off the edge

16Overflow-y scroll always

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

A secure story makes complex tasks into simple steps all year round.

17Notification panel

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

Notifications
Our health check-ups shows you focused on what matters wherever you are.
The new reminders keeps decisions quicker and clearer wherever you are.
This modern routine shows projects moving forward without the usual hassle.
Our dental care lets the whole team on the same page all year round.
View all

18Clip a decorative shape

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

Feel better with expert care

Our lab tests makes results you can measure for teams of every size.

19Long word handling

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

downloads/brand-name-15/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/brand-name-15/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
Pro14259 GBEmail and chatUnlimited$62.24