Search
 
SCRIPT & CODE EXAMPLE
 

CSS

bootstrap text truncate

<span class="text-truncate" style="max-width: 120px;">
  Praeterea iter est quasdam res quas ex communi.
</span>
Comment

bootstrap text truncate after 3 lines

<span class="text-truncate-2">
  I'm a cute rainbow otter let's be freinds.
</span>

.text-truncate-2 {
    -webkit-line-clamp: 2;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to center divs in css 
Css :: mat select remove underline 
Css :: tailwind backdrop 
Css :: grid center css 
Css :: gradient border css 
Css :: input checkbox size css 
Css :: css prevent line break 
Css :: css set variable 
Css :: set rotation of img in css 
Css :: image crop using css 1:1 
Css :: ipad specific media query 
Css :: box shador of one border css 
Css :: how to add shadow in css 
Css :: keeping elements of container in center 
Css :: css p tag text wrap 
Css :: css animate background image 
Css :: hiding button border when clicked 
Css :: bodyparser limit 
Css :: css vertical align 
Css :: html input background color 
Css :: @extend must be used with a %placeholder 
Css :: css text stroke 
Css :: text outline css 
Css :: style scroll bar css 
Css :: center div inside div flex 
Css :: position an icon in relation a parent element 
Css :: change bot page background top.gg 
Css :: transition background gradient 
Css :: reset id sequence postgres 
Css :: css bg code 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =