Search
 
SCRIPT & CODE EXAMPLE
 

CSS

restrict a paragraph height css

body {
   margin: 20px;
}

.text {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
   -webkit-box-orient: vertical;
}
Comment

restrict a paragraph height css

.class{
   word-break: break-word;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   line-height: 16px; /* fallback */
   max-height: 32px; /* fallback */
   -webkit-line-clamp: 2; /* number of lines to show */
   -webkit-box-orient: vertical;
}
Comment

PREVIOUS NEXT
Code Example
Css :: elementor accordions closed by default 
Css :: center with css 
Css :: top down gradient css on body 
Css :: remove list bullet css 
Css :: how to make img cover parent div 
Css :: texto vertical css 
Css :: invisible button css 
Css :: text underline hover css 
Css :: bootstrap media queries 
Css :: css input remove border on focus 
Css :: css div side rounded 
Css :: style disabled button 
Css :: font awesome before after 
Css :: twig ternaire 
Css :: grid center align css 
Css :: prevent screen reader from reading text out loud css 
Css :: set rotation of img in css 
Css :: center align div vertically and horizontally css 
Css :: remove marker from li tag 
Css :: css border opacity 
Css :: css limit text length 
Css :: how to make smth be in the bottom of the page css 
Css :: slickjs height 
Css :: bold in label html 
Css :: white border css 
Css :: how to center an absolute div 
Css :: css darken 
Css :: chmod recursive 
Css :: center div inside div flex 
Css :: styling radio input 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =