Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

limit p

.text {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #limit
ADD COMMENT
Topic
Name
9+7 =