Proprietary and undocumented 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.
Make sure you will not get
CSS line-clamp error for your website. You can test your website on different chrome browser versions on LambdaTest
CSS line-clamp element is not supported by Chrome version 4 to 13. Chrome 14 to 66 supports CSS line-clamp with prefix
This element is not supported by Mozilla Firefox browser.
CSS line-clamp property is not supported by any versions of Internet explorer.
Safari version 3.1 to 4 doesn't support CSS color-adjust. However later versions from 5 to 11.1 supports
CSS line-clampwith prefix
No Microsoft Edge browser version supports CSS line-clamp.
Early Opera browser versions from 10.1 to 12.1 doesn't support CSS line-clamp element at all. Opera version 15 onwards till version 52 supported CSS line-clamp property with prefix
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
All websites and webapps use collections of a lot of browser technologies and elements. Not all of these elements are supported by all browsers and browser versions. At LambdaTest you can test your website on all browsers and browser versions and easily debug browser compatibility issues in real time.
You can test your website for cross browser compatibility across all Firefox browser versions using LambdaTest
Perform cross browser testing of your website/ webapp across all Chrome browser versions using LambdaTest
Check your website on all Safari browser on Mac and Windows for cross browser compatibility with LambdaTest
Perfrom cross browser testing of your website/ web app across all IE verions using LambdaTest
Our plans starts with a free plan where you access to all features and free 60 minutes of live testing per month.
Need support for a larger team? We have very flexible plans and if they don’t suffice, leave us a message here, and we would help you out.