Truncating lines of text in CSS using line clamp
Line Clamp is one of those tools which I wish had existed when I first started to code similar to Border-radius and Box shadow. In a nutshell what Line clamp allows you to do is restrict the number of lines to display based on property value in css.
Read this article about Truncating lines of text in CSS using line clamp→