Search
 
SCRIPT & CODE EXAMPLE
 

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;
}
Comment

PREVIOUS NEXT
Code Example
Css :: 2 lines p css 
Css :: center an input css 
Css :: create a specific form size and center in css 
Css :: @media max-width 
Css :: rotate text css 
Css :: prevent click css 
Css :: input autocomplete css color 
Css :: css image fit in div with aspect ratio 
Css :: css image sharpen 
Css :: animation keep end state 
Css :: responsive css 
Css :: media queries css not working for mobile 
Css :: css rotate animation 
Css :: center text horizontally and vertically 
Css :: how to set the first column of the table in center in css 
Css :: how to make border blur css 
Css :: hidden div css 
Css :: stick menu bar in css 
Css :: how to snap the scroll is css 
Css :: make an anchor tag inactive 
Css :: cursor disabled 
Css :: center in grid 
Css :: css set variable 
Css :: align center 
Css :: print media css 
Css :: css box shadow 
Css :: css animate background image 
Css :: hide scroll bar 
Css :: rgb white 
Css :: disable cursor css 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =