Search
 
SCRIPT & CODE EXAMPLE
 

CSS

2 lines paragraph

.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 :: input type search remove x 
Css :: textview center text 
Css :: input form shadow active bootstrap 
Css :: css @media 
Css :: tailwind css cdn 
Css :: mat card title center 
Css :: css font text stroke 
Css :: Centering a div of unknown height and width 
Css :: remove hover effect css 
Css :: how to create a strikethrough in css 
Css :: input date icon color change 
Css :: grayscale css 
Css :: color code for pink 
Css :: position footer to stay at bottom of screen flexbox 
Css :: css list no bullets 
Css :: disable scroll css 
Css :: justify text csss 
Css :: customize highlight color website 
Css :: ion-tab-bar transparent 
Css :: css animated skills bar 
Css :: add background overlay over background image 
Css :: CS REMOVING BACKGROUND IMAGE 
Css :: css stop scrollbar 
Css :: tailwind input field hide arrows 
Css :: font smoothing 
Css :: css unlock scroll 
Css :: grab cursor css 
Css :: css center div vertically 
Css :: css selector for getting disabled input field 
Css :: lightred color hex 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =