Search
 
SCRIPT & CODE EXAMPLE
 

CSS

limit p css

.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 :: center div horizontally and vertically 
Css :: textview android text align center 
Css :: mat slide toggle change color 
Css :: @media for mobile 
Css :: borders for tables in html/css 
Css :: css select labels for checked checkbox 
Css :: invert css 
Css :: css div on the bottom 
Css :: hover none in css 
Css :: font border css 
Css :: css button transparent 
Css :: button mouse icon hover css 
Css :: remove underline on hover span 
Css :: css make something always on top 
Css :: css last 3 childs 
Css :: css fadeIn opacity transition 
Css :: use text-align to justify the paragraph style 
Css :: keyframe fade down css 
Css :: css circle border 
Css :: css rotate 90 degrees 
Css :: background overlay css 
Css :: gradient border css 
Css :: unselectable css property 
Css :: less calc 
Css :: css last child 
Css :: jquery .css multiple 
Css :: roboto 
Css :: css color gradient background full height 
Css :: 3 column responsive grid css 
Css :: How to hide specific td border in css 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =