![Ravin on X: "CSS tip: Trim a paragraph of text that is too long with CSS. https://t.co/5c83empe1O" / X Ravin on X: "CSS tip: Trim a paragraph of text that is too long with CSS. https://t.co/5c83empe1O" / X](https://pbs.twimg.com/media/FNVm2OBaQAIkccN.jpg:large)
Ravin on X: "CSS tip: Trim a paragraph of text that is too long with CSS. https://t.co/5c83empe1O" / X
![Elad Shechter on X: "We can trim text via #CSS in two methods: 1. text-overflow: ellipsis; which is suitable for a single line. 2. line-clamp, which is better for multi-lines. @SassCSS mixin Elad Shechter on X: "We can trim text via #CSS in two methods: 1. text-overflow: ellipsis; which is suitable for a single line. 2. line-clamp, which is better for multi-lines. @SassCSS mixin](https://pbs.twimg.com/media/FJd7cJzXwAU_R-I.jpg:large)
Elad Shechter on X: "We can trim text via #CSS in two methods: 1. text-overflow: ellipsis; which is suitable for a single line. 2. line-clamp, which is better for multi-lines. @SassCSS mixin
![Truncating multi line text with both css and javascript | A hobby blog for a hungry soul - Ramesh's personal blog Truncating multi line text with both css and javascript | A hobby blog for a hungry soul - Ramesh's personal blog](https://kunwar.dk/static/55321f3a6a7a9c36c4643315a6f67860/49209/blog-006-truncate-text-img001.jpg)