Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

text-overflow: ellipsis 2 lines

display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ellipsis #lines
ADD COMMENT
Topic
Name
2+5 =