Single Line Truncate [Snippet] <> No-Code Supply Co.
Single Line Truncate
/* Class must has a set width for this to work */
.truncate {
width: 280px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

Set a specific width on a class/element along with a couple other styles to automatically truncate the text with an ellipsis at the end.

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
12.4.19

Similar items

VisualDX

10.15.24

Front

10.10.24

InstaGallery

10.10.24

TagTeam

10.10.24

Ryaneatpixel

10.9.24
Featured
Preview

Osmo

View item

Generative AI exists because of the transformer

10.9.24

Danis Pekić

10.8.24

HF-11

10.8.24

Frameship

10.8.24

Cap

10.8.24

Hartmann Capital

10.8.24

Blocs Framer Plugin

10.3.24

Irene Butenko

10.3.24

Jack Elder

10.3.24

Displace Figma Plugin

10.1.24

Codefortify

10.1.24

AKARI

10.1.24

Spot Insurance

9.30.24

Ivan Duzhak

9.30.24

DivBlockers

9.30.24

TaxGPT

9.30.24

Departure Mono

9.30.24

Polypane

9.30.24

BRANDIV

9.27.24

Modern Tax

9.27.24
Load more

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.