---
id: "line-clamp"
kind: "web-feature"
canonical: "https://timetostable.com/feature/line-clamp"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# line-clamp (`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.

- **Group**: CSS
- **Baseline**: Limited Availability
- **Specification**: https://drafts.csswg.org/css-overflow-4/#line-clamp
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |


