Skip to content

Files

Latest commit

 

History

History
10 lines (10 loc) · 622 Bytes

77.md

File metadata and controls

10 lines (10 loc) · 622 Bytes
title date submitter number tags discussion
I want multi-line text-overflow property values in CSS
2019-10-01 22:38:20 UTC
Anonymous
76
css

We can control text overflow on one single line with white-space: nowrap and text-overflow: ellipsis, but there’s nothing for multi-line control. Apple introduced two proprietary properties (-webkit-line-clamp and -webkit-box-orient) for this and there are certainly ways to accomplish this goal with JavaScript, but a declarative, standardized way to control this in CSS would be most welcome.