Is it possible to limit a text length to \"n\" lines using CSS (or cut it when overflows vertically).
text-overflow: ellipsis; only works for 1 line tex
text-overflow: ellipsis;
.class{ word-break: break-word; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; line-height: 16px; /* fallback */ max-height: 32px; /* fallback */ -webkit-line-clamp: 2; /* number of lines to show */ -webkit-box-orient: vertical; }