Welcome UI Hackers!

Hacking UI is a community for designers, developers and creative entrepreneurs with a passion.
We share our thoughts and experiences in our newsletter, our podcast, and of course the blog.

Pure CSS for multiline truncation with ellipsis

A few days ago I had to truncate a multiline block of text. It’s a common problem, but I was a disappointed because we still don’t have a simple, cross-browser CSS solution for it. I tried a few ideas, but each time I found that the ‘…’ wasn’t quite right. Sometimes it appeared far from the end of the text or fell over to the next line.

Read More »

We participate in the Amazon Services, LLC Associates program, and affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliate sites.