Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css text truncate 2 lines

p {
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #text #truncate #lines
ADD COMMENT
Topic
Name
9+5 =