Answers for "css text ellipsis 2line"

CSS
25

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
-1

text-overflow: ellipsis 2 lines

display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
Posted by: Guest on December-21-2021

Browse Popular Code Answers by Language