Search
 
SCRIPT & CODE EXAMPLE
 

CSS

text truncate after 3 lines

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
}
Comment

css text truncate 2 lines

p {
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css transform y 
Css :: css circle border 
Css :: hover apply lighter color css 
Css :: how to change style based on screen size 
Css :: tailwind absolute center 
Css :: change size of bullet point css 
Css :: css cut off text 
Css :: how to make a glow effect in html 
Css :: remove border between td 
Css :: css grid wrap columns 
Css :: increase tooltip width in angular material 
Css :: boostrap pointer 
Css :: center image css 
Css :: background gradient problem 
Css :: css logo color 
Css :: vertical-align tablerow 
Css :: css smooooooth scroll 
Css :: css margin bottom 
Css :: how to define max number of character for a paragraph css 
Css :: css noselect 
Css :: blazor spinner css in wwwroot/css/site.css 
Css :: onclick url 
Css :: border around img css 
Css :: anchor tag taking up all the width of the page 
Css :: css text outline 
Css :: how to remove margin of body 
Css :: css stylistic alternates 
Css :: how to add inline class to a paragraph in css 
Css :: css transition slide up 
Css :: comentarios en css 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =