Answers for "how to add ellipsis on text overflow"

CSS
32

css ellipsis

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

text-overflow: ellipsis; 2 line

display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
Posted by: Guest on December-05-2020

Code answers related to "how to add ellipsis on text overflow"

Browse Popular Code Answers by Language