Skip to content
Fluxio Works

Text Truncation

The text-truncate helper shortens long text to a single line and ends it with an ellipsis. It needs a block or inline-block element with a width limit; in flex layouts give the flexible item min-width: 0.

1Block level truncation

A block element with a max width; the dashed outline shows the limit.

Our team has done this many times, so you never have to guess. Short quizzes after each lesson help new knowledge stick.

2Inline-block inside a sentence

Inline elements need d-inline-block plus a max width to truncate.

Last edited by Arjun Ortega and Ivy Delgado yesterday.

3Inbox preview

Subject and preview text cut to one line in an email list.

  • Nadia IbrahimLooking back at a busy season – Start in minutes and get help from a real person whenever you need it. Earn a certificate at the end of each course and share it with employers.
  • Lea QuinnHow we build a course, start to finish – Career coaches help with your CV, portfolio and interview practice. Every course is built around hands-on projects you can add to your portfolio.
  • Mateo HughesHow to stay motivated when learning online – Try the first lesson of any course for free before you decide. Learn on your schedule, with lessons that fit into a lunch break.

4Table cell notes

A long note column truncated with text-truncate and a max width on the cell.

OrderNoteTotal
#ORD-4012Instructors are working professionals who teach what they use every day.$50.17
#INV-2940Guided learning paths take you from beginner to job-ready step by step.$174.46
#PO-8140We keep things simple, so you can focus on what matters to you.$196.49

5Long file names

File names shorten while the size stays visible at the end.

  • five-things-we-learned-this-year-final-version-2.docx590 KB
  • our-favourite-tips-for-busy-weeks-final-version-2.docx618 KB
  • tips-for-learning-while-working-full-time-final-version-4.docx83 KB

6Breadcrumb with a long last item

The current page title truncates so the breadcrumb stays on one line.

7Notification preview

A toast-like card where the message preview stays on one line.

Elena Kim replied: Mentors review your projects and give feedback within two days.21 hours ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

Looking back at a busy season: We listen first, then build a plan around what you actually need.

Jul 21, 2026

How we build a course, start to finish: We keep things simple, so you can focus on what matters to you.

Aug 14, 2026

Headlines people actually click: Guided learning paths take you from beginner to job-ready step by step.

May 16, 2026

9Chat list

In a flex row the text column needs min-width: 0 so text-truncate can shrink it.

10Long web addresses

Page addresses truncate in a link list; the full address is kept in the title attribute.

11Product grid names

Product names cut to one line under each image in a compact grid.

Public speaking Lifestyle edition
$76.99
Digital marketing Marketing edition
$134.99
Web development Development edition
$229.00
Data analysis Development edition
$209.00

12Truncated chips

Badges with a max width so long labels never break the row.

Five things we learned this yearHow to choose the right courseBuilding a portfolio that gets interviewsOur most popular courses this year

13User menu name

A long account name truncates inside the navbar button.

14Why min-width: 0 matters

Left: a flex child without min-width overflows. Right: with min-width: 0 the text truncates.

Without min-width

Learn on your schedule, with lessons that fit into a lunch break. Short quizzes after each lesson help new knowledge stick.
New

With min-width: 0

We measure success by how many students come back and tell their friends. Try the first lesson of any course for free before you decide.
New

15Sidebar menu

Project names in a narrow sidebar stay on one line each.

16Kanban card titles

Narrow board columns keep task titles tidy with truncation.

To do
Our favourite tips for busy weeks
Five study habits that actually work
Doing
How to stay motivated when learning online
A beginner's guide to getting started
Done
From teacher to UX designer: a career story
Tips for learning while working full time

17Order summary address

A long shipping address truncated in a summary line, with an edit link.

Priya Haddad, 314 Hillcrest Road, Copenhagen 89104, Denmark Change

18Dropdown with a long value

The selected option truncates inside a fixed width dropdown button.

19Playlist

Long episode or track titles truncate while the duration stays aligned.

  1. Courses taught by real practitioners5:50
  2. Your next career starts here3:14
  3. Learn from people who do the job5:32

20Full text in a tooltip

Offer the complete text in a tooltip so nothing is lost when it is truncated.

Every course is built around hands-on projects you can add to your portfolio. Our team has done this many times, so you never have to guess.