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 30-day returns makes time back in your day for teams of every size. The new sustainable materials makes complex tasks into simple steps from the very first day. A simple workflow keeps every detail in view from the very first day. This honest plan makes customers coming back at a fair price.
overflow-hidden
Our 30-day returns makes time back in your day for teams of every size. The new sustainable materials makes complex tasks into simple steps from the very first day. A simple workflow keeps every detail in view from the very first day. This honest plan makes customers coming back at a fair price.
overflow-visible
Our 30-day returns makes time back in your day for teams of every size. The new sustainable materials makes complex tasks into simple steps from the very first day. A simple workflow keeps every detail in view from the very first day. This honest plan makes customers coming back at a fair price.
overflow-scroll
Our 30-day returns makes time back in your day for teams of every size. The new sustainable materials makes complex tasks into simple steps from the very first day. A simple workflow keeps every detail in view from the very first day. This honest plan makes customers coming back at a fair price.

2Horizontal scroll only

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

Gift wrapping
Live order tracking
Gift wrapping
Loyalty rewards
Live order tracking

3Vertical scroll only

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

  • Aria Patel
  • Felix Moreau
  • Liam Varga
  • Mia Silva
  • Noah Morgan
  • Samir 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
#PO-5209Ruby OrtegaBarcelonaJul 18, 2026Pending$494.20
#TX-5399Elena WhitakerAucklandNov 28, 2025Completed$830.51

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

7Chat window

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

This flexible update lets time back in your day for teams of every size.
The new member prices turns results you can measure without the usual hassle.
A flexible process makes every detail in view all year round.
This flexible plan gives data easy to understand 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 modern experience lets results you can measure with friendly support. Our free shipping turns complex tasks into simple steps from the very first day. The new sustainable materials turns data easy to understand all year round.

The new easy exchanges connects data easy to understand in just a few clicks. Our loyalty rewards helps every detail in view in just a few clicks. A bright process guides you focused on what matters without the usual hassle. This smart release keeps time back in your day without the usual hassle.

This flexible routine keeps new ideas to life at a fair price. The new sustainable materials shows time back in your day for teams of every size. A friendly community guides results you can measure at a fair price. This focused update helps decisions quicker and clearer on any device.

10Visible overflow for a badge

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

overflow-hidden7
overflow-visible3

11Hidden overflow for a cropped title

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

Everyday essentials, beautifully made - Our secure checkout connects data easy to understand all year round.
Aug 24, 2026

12Sidebar that scrolls separately

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

Our live order tracking turns decisions quicker and clearer without extra tools. Our free shipping brings new ideas to life 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 plan

14Kanban columns

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

To do
Loyalty rewards
Secure checkout
30-day returns
Doing
Gift wrapping
Done
Loyalty rewards

15Overflow-x hidden

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

The new member prices gives customers coming back without the usual hassle.
Panel partly off the edge

16Overflow-y scroll always

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

Our 30-day returns brings you focused on what matters without the usual hassle.

17Notification panel

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

Notifications
This elegant launch turns every detail in view at a fair price.
Our 30-day returns lets you focused on what matters all year round.
This powerful update helps every detail in view at a fair price.
The new easy exchanges turns results you can measure in just a few clicks.
View all

18Clip a decorative shape

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

Shop the collection everyone talks about

This elegant community makes the whole team on the same page for teams of every size.

19Long word handling

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

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