Search
 
SCRIPT & CODE EXAMPLE
 

CSS

limit number of text lines

   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
   -webkit-box-orient: vertical;
}
Comment

Limit Number Of Text Lines

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; // put the number of lines
    -webkit-box-orient: vertical;
Comment

PREVIOUS NEXT
Code Example
Css :: input padding without changing width 
Css :: css change text size 
Css :: word break css 
Css :: transform:translateX() 
Css :: how to change image based on screen size 
Css :: why is my css code not working 
Css :: cool hover effects css 
Css :: how to resize after image in css 
Css :: how to change button gradient 
Css :: print media query css 
Css :: transform origin css 
Css :: css how to change font colr 
Css :: css get screen height 
Css :: laravel asset css not found 
Css :: background overlay image 
Css :: put gradient color over background image 
Css :: css profile picture round 
Css :: line middle text css 
Css :: how to write css in html 
Css :: how to put link at bottom of page html 
Css :: media queries 
Css :: what does align items center do 
Css :: input type file placeholder 
Css :: css size 
Css :: setting multiple css using dom 
Css :: how to make a dotted hr in css 
Css :: rgb blue color code 
Css :: animate progress tag css 
Css :: check ssh port 
Css :: css hide scrollbar but scrollable 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =