Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

text truncate after 3 lines

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #text #truncate #lines
ADD COMMENT
Topic
Name
8+1 =