Answers for "truncate string in 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

Browse Popular Code Answers by Language