Limited CSS
line-clamp
The line-clamp CSS property limits the text in a block container to a certain number of lines. The prefixed -webkit-line-clamp is widely supported but only works with -webkit-box-orient: vertical in combination with display: -webkit-box or display: -webkit-inline-box.
Baseline Status
Limited
Missing ≥1 target
First Core Launch
—
Core-3 Stability
Limbo (—)
Missing: chrome, firefox, safari
BCD Keys Mapped
2
Group: CSS
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| No dated releases recorded. | |||
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.properties.line-clamp | CSS | — limbo |
| css.properties.line-clamp.none | CSS | 2,697d (7.4y) limbo |