CSS

CSS: End Long Line in Ellipsis

How to cut off long single-line text with a nice clean ellipsis?

text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;

Note: there has to be a limit to the div’s width.

Standard