I have multiple titles with different lenghts and i would like them to always take 1 line and leave suspension points/ellipsis (...) if they can't fit. I can't just change the text inside the div
s because the h2
s inside them will automatically change everyday.
Heres my code: http://jsfiddle.net/FranLegon/k9LsLuuk/
You can see what I want to achieve at Medium : https://i.stack.imgur.com/q2Jc3.png
PS: If my english isn't good enough feel free to edit my question
EDIT: I got an asnswer that works perfectly for 1 line, but now I want the text to take 2 lines instead. Any ideas?