Cascading Style Sheets (CSS)
Some of the most useful CSS tricks to help you in a bind.
Restricts a paragraph of text to 3-lines. NOTE: Text is truncated at the end.
.max-lines-3 {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3; /* number of lines to show */
line-clamp: 3;
-webkit-box-orient: vertical;
}