Answers for "text overflow ellipse for 2 line div"

CSS
16

text-overflow ellipsis multiple lines

p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
Posted by: Guest on March-22-2020

Browse Popular Code Answers by Language