Search
 
SCRIPT & CODE EXAMPLE
 

CSS

truncate multiline text

p {
    width:100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background:#fff;
    position:absolute;
}
// I did with just the solution down:
p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
Comment

PREVIOUS NEXT
Code Example
Css :: fade in animation css codepen 
Css :: contain background image within container 
Css :: Set the style for links to pages you have visited to any color. 
Css :: how to round input border 
Css :: css display 
Css :: css selector last child 
Css :: modern css fonts 
Css :: for...of...loop 
Css :: pesudo content css break word 
Css :: simple website templates free download html with css without bootstrap 
Css :: make image scale based on screen size 
Css :: before and after pseudo selectors 
Css :: skeumorphism box shadow 
Css :: how to disable site anchor 
Css :: spaziatura caratteri css 
Css :: disable on print margin html 
Css :: overflow touch smooth 
Css :: change the background of an element in a loop using css 
Css :: reset css simples 
Css :: css margin 
Css :: clip path css 
Css :: css input field focus border 
Css :: css let div be last 
Css :: custom cursor css 
Css :: get element with href css 
Css :: Bootstrap open modal move page content 
Css :: css attribute selectors 
Css :: animation 
Css :: select custom css 
Css :: save css file to different folder in scss 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =