I have a DIV with a multi-line paragraph.
Is there any way (maybe using jQuery) to only show the first line of the paragraph and hide the others?
I have a DIV with a multi-line paragraph.
Is there any way (maybe using jQuery) to only show the first line of the paragraph and hide the others?
Here is a way (sort of) by making the paragraph white-on-white except the :first-line of it: http://jsbin.com/usora4/2/edit
Snippet of CSS: