CSS line-clampExternal Link

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

CSS property that will contain text to a given amount of lines when used in combination with display: -webkit-box. It will end with ellipsis when text-overflow: ellipsis is included.

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 97.39% of all users can use this feature, 97.39% fully supported, 0% partially supported
✓Supported
✗Not supported
Partial support
Prefixed