html - Applying an ellipsis to multiline text - Stack Overflow

PHOTO EMBED

Thu Jun 09 2022 12:22:48 GMT+0000 (UTC)

Saved by @saranraj #css

p {
    display: -webkit-box;
    max-width: 200px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
content_copyCOPY

https://stackoverflow.com/questions/33058004/applying-an-ellipsis-to-multiline-text