Skip to content
Musean

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
Earn a certificate at the end of each course and share it with employers. Lifetime access means you can revisit lessons whenever you need a refresher. The mobile app downloads lessons, so you can learn on the train. Try the first lesson of any course for free before you decide.
overflow-hidden
Earn a certificate at the end of each course and share it with employers. Lifetime access means you can revisit lessons whenever you need a refresher. The mobile app downloads lessons, so you can learn on the train. Try the first lesson of any course for free before you decide.
overflow-visible
Earn a certificate at the end of each course and share it with employers. Lifetime access means you can revisit lessons whenever you need a refresher. The mobile app downloads lessons, so you can learn on the train. Try the first lesson of any course for free before you decide.
overflow-scroll
Earn a certificate at the end of each course and share it with employers. Lifetime access means you can revisit lessons whenever you need a refresher. The mobile app downloads lessons, so you can learn on the train. Try the first lesson of any course for free before you decide.

2Horizontal scroll only

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

Study groups
Career coaching
Online courses
Live workshops
Mentoring

3Vertical scroll only

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

  • Priya Haddad
  • Jonah Whitaker
  • Theo Ashford
  • Felix Harlow
  • Amara Brennan
  • Lea Novak

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-4301Isla VargaPortoMar 13, 2026Shipped$593.16
#PO-4213Samir TanakaPortoAug 8, 2026Overdue$789.36

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

7Chat window

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

Instructors are working professionals who teach what they use every day.
Every detail is handled by people who care about getting it right.
Lifetime access means you can revisit lessons whenever you need a refresher.
Friendly people answer your questions quickly, by phone, chat or email.

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

Start in minutes and get help from a real person whenever you need it. Career coaches help with your CV, portfolio and interview practice. Thousands of students already trust us, and we work hard to keep it that way.

Study groups and a friendly forum keep you motivated along the way. Short quizzes after each lesson help new knowledge stick. Guided learning paths take you from beginner to job-ready step by step. We keep things simple, so you can focus on what matters to you.

Learn on your schedule, with lessons that fit into a lunch break. Earn a certificate at the end of each course and share it with employers. We measure success by how many students come back and tell their friends. Every course is built around hands-on projects you can add to your portfolio.

10Visible overflow for a badge

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

overflow-hidden6
overflow-visible1

11Hidden overflow for a cropped title

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

Learn new skills at your own pace - Mentors review your projects and give feedback within two days.
May 9, 2026

12Sidebar that scrolls separately

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

Our team has done this many times, so you never have to guess. We listen first, then build a plan around what you actually need.

13Image pan area

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

Tips for learning while working full time

14Kanban columns

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

To do
Mentoring
Online courses
Career coaching
Doing
Study groups
Done
Online courses

15Overflow-x hidden

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

Clear prices, honest advice and no surprises along the way.
Panel partly off the edge

16Overflow-y scroll always

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

Start in minutes and get help from a real person whenever you need it.

17Notification panel

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

Notifications
Mentors review your projects and give feedback within two days.
Career coaches help with your CV, portfolio and interview practice.
Study groups and a friendly forum keep you motivated along the way.
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.

Learn by doing, not just watching

The mobile app downloads lessons, so you can learn on the train.

19Long word handling

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

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