Trimming Multi-Line Text in CSS. Trimming lines in CSS was always an… | by Elad Shechter | Medium

PHOTO EMBED

Thu Apr 21 2022 05:07:42 GMT+0000 (UTC)

Saved by @alexmwalker #css #line-clamp

.content p{   
   display: -webkit-box;   
   -webkit-line-clamp: 3;   
   -webkit-box-orient: vertical;     
   overflow: hidden; 
}
content_copyCOPY

https://elad.medium.com/trimming-multi-lines-in-css-5ae59d5e6d84