Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css limit line text

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