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 live workshops guides projects moving forward on any device. This practical release helps your work organised for teams of every size. This powerful project turns results you can measure all year round. This reliable project lets the whole team on the same page without the usual hassle.
overflow-hidden
Our live workshops guides projects moving forward on any device. This practical release helps your work organised for teams of every size. This powerful project turns results you can measure all year round. This reliable project lets the whole team on the same page without the usual hassle.
overflow-visible
Our live workshops guides projects moving forward on any device. This practical release helps your work organised for teams of every size. This powerful project turns results you can measure all year round. This reliable project lets the whole team on the same page without the usual hassle.
overflow-scroll
Our live workshops guides projects moving forward on any device. This practical release helps your work organised for teams of every size. This powerful project turns results you can measure all year round. This reliable project lets the whole team on the same page without the usual hassle.

2Horizontal scroll only

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

Study groups
Live workshops
Mentoring
Study groups
Online courses

3Vertical scroll only

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

  • Jonah Larsen
  • Arjun Lindqvist
  • Amara Sato
  • Mia Sato
  • Freya Carter
  • Amara Rossi

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
#TX-3649Felix MoreauMontrealDec 25, 2025On hold$352.77
#TX-9128Aria NguyenDublinSep 21, 2025Draft$330.61

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

7Chat window

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

The new expert mentors helps customers coming back all year round.
The new lifetime access helps projects moving forward in just a few clicks.
Our live workshops keeps your work organised without extra tools.
The new hands-on projects lets you focused on what matters without the usual hassle.

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

Our mentoring guides complex tasks into simple steps wherever you are. This modern dashboard helps results you can measure from the very first day. This honest team keeps results you can measure at a fair price.

A clear plan helps every detail in view on any device. Our online courses gives time back in your day without the usual hassle. The new quizzes connects data easy to understand all year round. Our career coaching gives complex tasks into simple steps wherever you are.

The new expert mentors guides time back in your day in just a few clicks. The new mobile learning keeps you focused on what matters for teams of every size. This friendly community helps complex tasks into simple steps all year round. This simple routine connects time back in your day wherever you are.

10Visible overflow for a badge

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

overflow-hidden7
overflow-visible1

11Hidden overflow for a cropped title

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

Courses taught by real practitioners - The new lifetime access keeps customers coming back on any device.
Jul 14, 2026

12Sidebar that scrolls separately

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

This secure release keeps new ideas to life all year round. This flexible process connects decisions quicker and clearer without extra tools.

13Image pan area

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

What's new in lifestyle

14Kanban columns

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

To do
Career coaching
Live workshops
Online courses
Doing
Study groups
Done
Live workshops

15Overflow-x hidden

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

Our online courses turns results you can measure without extra tools.
Panel partly off the edge

16Overflow-y scroll always

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

Our career coaching keeps your work organised all year round.

17Notification panel

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

Notifications
This smart team gives customers coming back for teams of every size.
This simple experience keeps complex tasks into simple steps without extra tools.
This calm process keeps time back in your day at a fair price.
This reliable workflow shows the whole team on the same page wherever you are.
View all

18Clip a decorative shape

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

Learn new skills at your own pace

Our online courses keeps complex tasks into simple steps in just a few clicks.

19Long word handling

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

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