Answers for "i want text to truncate after two lines css"

CSS
1

text truncate after 3 lines

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
}
Posted by: Guest on August-14-2021

Code answers related to "i want text to truncate after two lines css"

Browse Popular Code Answers by Language