No this does not work: on Chrome as well- so dont know which browser does this support.
I'm using the https://css-tricks.com/line-clampin/ technique to get certain lines to be displayed in my div container. this is the code I have:
CSS:
.container {
width: 600px;
border: 1px solid #888;
padding: 0.5em;
line-height: 1.2em;
margin-bottom: 10px;
}
.summary{
background-color: #fff;
height: 60px;
padding: 2em;
width: 200px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
https://jsfiddle.net/ozx9np34/
I understand clamp is used to get the 3 dots at the end of truncated lines, but is there a way to add some text("continue"/"more") to it to indicate that more content is present?