css-line-clamp "Can I use..." widgets
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.
What browser do support css-line-clamp widget
Add this code to your website
<script data-feature="css-line-clamp" defer src="https://cdn.caniusewidgets.com/scripts/overviewtable.js"></script>
to display the following widget
⇓
How many browsers globally do support css-line-clamp widget
Add this code to your website
<script data-feature="css-line-clamp" defer src="https://cdn.caniusewidgets.com/scripts/browsersupport.js"></script>
to display the following widget
⇓
Is css-line-clamp supported in my browser widget
Add this code to your website
<script data-feature="css-line-clamp" defer src="https://cdn.caniusewidgets.com/scripts/single.js"></script>
to display the following widget
⇓
caniusewidgets.com/css-line-clamp
Change caniuse.com to
caniusewidgets.com to
get to this page
Other interesting features: