Twitter Facebook html { –lh: 1.4rem; line-height: var(–lh); } .truncate-overflow { –max-lines: 3; max-height: calc(var(–lh) * var(–max-lines)); overflow: hidden; } .truncate-overflow::before { content: “…”; position: absolute; bottom: 0; right: 0; } .