Answers for "css read more ellipsis"

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
32

css ellipsis

div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
Posted by: Guest on May-01-2020

Browse Popular Code Answers by Language