Is it possible using css to substitute "..." instead of extra text?

5e299fc15b812223316782.jpeg
April 4th 20 at 13:30
3 answers
April 4th 20 at 13:32
Solution
Give the unit with the text:
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* number of rows */
April 4th 20 at 13:34
Was a similar question.
April 4th 20 at 13:36
Can such an option to offer with js.
https://codepen.io/sh4dyx/pen/JjoxvJg

Find more questions by tags CSS