Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

limit p html

.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 #html
ADD COMMENT
Topic
Name
5+2 =