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
We keep things simple, so you can focus on what matters to you. Friendly people answer your questions quickly, by phone, chat or email. Every piece is made in small batches from materials we test ourselves. Every detail is handled by people who care about getting it right.
overflow-hidden
We keep things simple, so you can focus on what matters to you. Friendly people answer your questions quickly, by phone, chat or email. Every piece is made in small batches from materials we test ourselves. Every detail is handled by people who care about getting it right.
overflow-visible
We keep things simple, so you can focus on what matters to you. Friendly people answer your questions quickly, by phone, chat or email. Every piece is made in small batches from materials we test ourselves. Every detail is handled by people who care about getting it right.
overflow-scroll
We keep things simple, so you can focus on what matters to you. Friendly people answer your questions quickly, by phone, chat or email. Every piece is made in small batches from materials we test ourselves. Every detail is handled by people who care about getting it right.

2Horizontal scroll only

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

Gift wrapping
Live order tracking
30-day returns
Gift wrapping
Free shipping

3Vertical scroll only

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

  • Isla Haddad
  • Maya Alvarez
  • Luna Lindqvist
  • Finn Moreau
  • Sofia Novak
  • Kenji Nguyen

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
#INV-8965Owen RossiSingaporeAug 6, 2026Completed$376.43
#ORD-9695Elena MorganAucklandJul 9, 2026Cancelled$632.41

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

7Chat window

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

Gift wrapping and a handwritten note are free on every order.
Our packaging is plastic-free and every delivery is carbon-neutral.
Order before 2 pm and most items leave our warehouse the same day.
Each product is checked by hand before it goes into the box.

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

Pay securely with card, wallet or in three interest-free instalments. Clear prices, honest advice and no surprises along the way. Not sure about the size? Our fit guide and live chat help you choose.

Thousands of five-star reviews from customers who came back for more. We listen first, then build a plan around what you actually need. Thousands of shoppers already trust us, and we work hard to keep it that way. Start in minutes and get help from a real person whenever you need it.

Friendly people answer your questions quickly, by phone, chat or email. Start in minutes and get help from a real person whenever you need it. Every detail is handled by people who care about getting it right.

10Visible overflow for a badge

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

overflow-hidden8
overflow-visible9

11Hidden overflow for a cropped title

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

Quality goods delivered to your door - Pay securely with card, wallet or in three interest-free instalments.
Feb 24, 2026

12Sidebar that scrolls separately

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

We measure success by how many shoppers come back and tell their friends. Thousands of five-star reviews from customers who came back for more.

13Image pan area

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

Meet the makers behind our ceramics

14Kanban columns

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

To do
Secure checkout
Live order tracking
Free shipping
Doing
Live order tracking
Done
Loyalty rewards

15Overflow-x hidden

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

Gift wrapping and a handwritten note are free on every order.
Panel partly off the edge

16Overflow-y scroll always

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

We keep things simple, so you can focus on what matters to you.

17Notification panel

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

Notifications
Free shipping on orders over $50 and easy returns within 30 days.
Order before 2 pm and most items leave our warehouse the same day.
We work directly with makers, so prices stay fair for everyone.
Every piece is made in small batches from materials we test ourselves.
View all

18Clip a decorative shape

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

The new collection has landed

Our packaging is plastic-free and every delivery is carbon-neutral.

19Long word handling

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

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