I'm having some text in an inline-block div with a fixed height and width: http://jsfiddle.net/Jeroen94/LUJ8S/1/. I've hidden the y-overflow with overflow-y: hidden, but that kind of cuts my words horizontally sometimes. Therefore, I'd like to add something like "(...)" underneath the last fully shown sentence with . The end result should look like:
This is some text.
This is some text.
This is some text.
(...)
Is it possible to do this with CSS?
text-overflow: ellipsis;but also needoverflow:hiddenandwhite-space:nowrap. There are so much information about this, e.g. css-tricks.com/snippets/css/truncate-string-with-ellipsistext-overflowadds the "..." after each line. That's a cool feature (I'm using it on my site too), but that's not what I'm asking for in this question. I'd like to display "(...)" underneath the last fully displayed sentence.