text line max 2 line
div {
width: 200px;
}
p {
display: block; /* Fallback for non-webkit */
display: -webkit-box;
height: 2.6em; /* Fallback for non-webkit, line-height * 2 */
line-height: 1.3em;
-webkit-line-clamp: 2; /* if you change this, make sure to change the fallback line-height and height */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
<div>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
</p>
<div>