Answers for "how to truncate the elipsise using css"

CSS
32

css ellipsis

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

css elipsis

{
  width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
Posted by: Guest on September-18-2020

Browse Popular Code Answers by Language