Search
 
SCRIPT & CODE EXAMPLE
 

CSS

limit paragraph by 2 lines 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 :: limit p 
Css :: css odd even child 
Css :: css transition all 
Css :: media query 
Css :: display none css inline 
Css :: truncate text css 
Css :: CSS make image fill whole background 
Css :: a open new tab css 
Css :: radio checked css 
Css :: css circle 
Css :: sticky mat-toolbar 
Css :: css overflow truncate 
Css :: how to filter css red 
Css :: transparent input box 
Css :: background image size css 
Css :: background color semi transparent 
Css :: css vertical align items in div 
Css :: input time without am pm 
Css :: css text limit 
Css :: change size of bullet point css 
Css :: div circle 
Css :: gradient border with border radius 
Css :: css variables 
Css :: aligning form elements to center in css 
Css :: css text bottom to top 
Css :: div fit content height 
Css :: google font roboto 
Css :: how to center image css 
Css :: background-image linear gradient and border radius 
Css :: How to remove specific td border in css 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =