Search
 
SCRIPT & CODE EXAMPLE
 

CSS

truncate in css

.truncate-5 {
    display: -webkit-box;
  -webkit-line-clamp: 5; /* if you only want two lines then set it to 2*/
  -webkit-box-orient: vertical;
  overflow: hidden;  
}
Comment

PREVIOUS NEXT
Code Example
Css :: a tag taking up all the width of the page 
Css :: css text stroke 
Css :: hvad er css 
Css :: null vs void 
Css :: degradado color css 
Css :: how to move an image up in css 
Css :: make blinking cursor disappear css 
Css :: electron drag window 
Css :: css how to center a link 
Css :: text overflow ellipsis two lines 
Css :: Find element that is causing overflow css 
Css :: tailwind border color with gradient 
Css :: css stretch font vertically 
Css :: read properties from css file 
Css :: div centre 
Css :: css font face 
Css :: css super smooth shadow 
Css :: var minus scss 
Css :: how to make png smaller css 
Css :: css bg code 
Css :: how to make border for letters in css 
Css :: form styling 
Css :: css first element 
Css :: Applying an ellipsis with css 
Css :: input rtl html 
Css :: sass class with another class 
Css :: tabla responsive css 
Css :: center image 
Css :: css last item should be flex end 
Css :: text indent css 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =