If you looks at youtube's main page, you can see that the end of every title is replaced by "..." if it haven't finished. I want to do the same.
for example: the sentence "I love going out every day" in a short div might changed to "I love going out every d..." If the user click "ctrl" + "+" it might change to "I love going out eve...".
How do i archive that?