I'm using the following properties to get an ellipsis at the third line of my myClass paragraph
p.myClass {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
line-height: 120%;
max-height: 55px;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
font-size: 15px;
}
The ellipsis is appearing, but here is the issue I'm facing:
The thing is my class is also using:
text-align: justify;
Apparently the ellipsis rendering completely ignores the text-align: justify property. And the "..." appears where the text would have ended without justify.
I found a few workarounds using javascript and/or custom CSS classes. But I wondered if there were any solution to this using only simple CSS (Webkit is allowed since it's fine if it's working on Chrome only).