Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

line cap css

/* Limit text length to n lines*/
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
-webkit-box-orient: vertical;
 
PREVIOUS NEXT
Tagged: #line #cap #css
ADD COMMENT
Topic
Name
8+5 =